2 different architectures JSF does NOT have a FE controller..struts does JSF does not support Interceptors ..struts does JSF does not support JS component libraries such as Dojo and JQuery ...struts does
out of curiosity where did you view this jsf-plugin ? Martin Gainty ______________________________________________ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Subject: Struts2 - JSF Plugin - Richfaces > From: cora...@link.it > To: user@struts.apache.org > Date: Fri, 16 Jul 2010 15:27:13 +0200 > > Hi all, > > i'm trying to use richfaces with struts2 and jsf-plugin...but it doesn't > work ... someone can help? > > > I've added this to my web.xml: > > <servlet> > <servlet-name>faces</servlet-name> > <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> > <load-on-startup>1</load-on-startup> > </servlet> > > <servlet> > <servlet-name>JspSupportServlet</servlet-name> > > <servlet-class>org.apache.struts2.views.JspSupportServlet</servlet-class> > <load-on-startup>1</load-on-startup> > </servlet> > > <context-param> > <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name> > <param-value>com.sun.facelets.FaceletViewHandler</param-value> > </context-param> > > <context-param> > <param-name>com.sun.faces.serializationProvider</param-name> > > <param-value>org.jboss.web.jsf.integration.serialization.JBossSerializationProvider</param-value> > </context-param> > > <context-param> > <param-name>javax.faces.DEFAULT_SUFFIX</param-name> > <param-value>.xhtml</param-value> > </context-param> > <!-- RichFaces --> > <context-param> > <param-name>org.richfaces.CONTROL_SKINNING</param-name> > <param-value>enable</param-value> > </context-param> > > <context-param> > <param-name>org.richfaces.SKIN</param-name> > <param-value>blueSky</param-value> > </context-param> > <context-param> > <param-name>org.richfaces.LoadStyleStrategy</param-name> > <param-value>ALL</param-value> > </context-param> > <context-param> > <param-name>org.richfaces.LoadScriptStrategy</param-name> > <param-value>ALL</param-value> > </context-param> > <filter> > <display-name>RichFaces Filter</display-name> > <filter-name>richfaces</filter-name> > <filter-class>org.ajax4jsf.Filter</filter-class> > </filter> > > <filter-mapping> > <filter-name>richfaces</filter-name> > <servlet-name>faces</servlet-name> > <dispatcher>INCLUDE</dispatcher> > <dispatcher>REQUEST</dispatcher> > <dispatcher>FORWARD</dispatcher> > </filter-mapping> > <!-- JavaServer Faces Servlet Mapping, not called directly --> > <servlet-mapping> > <servlet-name>faces</servlet-name> > <url-pattern>*.action</url-pattern> > </servlet-mapping> > > I can see the generated markup but without the graphics because it seems > that the css and the js are not loaded. > > Any suggestions? > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > _________________________________________________________________ The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with Hotmail. http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5