[jboss-user] [JBoss Seam] - Re: Ajax + Seam Advice

harpritt do-not-reply at jboss.com
Thu Aug 2 17:20:48 EDT 2007


Damienn

i think ive sorted it... 30 min not bad aye


add this to my web.xml


  |  <filter>
  |         <display-name>Ajax4jsf Filter</display-name>
  |         <filter-name>ajax4jsf</filter-name>
  |         <filter-class>org.ajax4jsf.Filter</filter-class>
  |     </filter>
  | 
  |     <filter-mapping>
  |         <filter-name>ajax4jsf</filter-name>
  |         <url-pattern>*.seam</url-pattern>
  |     </filter-mapping>
  | 
  |     <context-param>
  |         <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
  |         <param-value>org.jboss.seam.ui.facelet.SeamFaceletViewHandler</param-value>
  |     </context-param>
  | 
  |     <context-param>
  |         <param-name>org.ajax4jsf.SKIN</param-name>
  |         <param-value>blueSky</param-value>
  |     </context-param>
  | 


Disabled the faceletview handler in the faces config

 <!--view-handler>org.jboss.seam.ui.facelet.SeamFaceletViewHandler</view-handler-->

and added the Ajax4jsf and RichFaces jars to my WAR, and add also added oscache for fun... 

and that was it... is it that simple? 



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070309#4070309

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070309



More information about the jboss-user mailing list