You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by Apache Wiki <wi...@apache.org> on 2007/03/01 08:41:38 UTC

[Myfaces Wiki] Update of "TrinidadSeamAjax4JsfFaceletDetail" by baz

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.

The following page has been changed by baz:
http://wiki.apache.org/myfaces/TrinidadSeamAjax4JsfFaceletDetail

------------------------------------------------------------------------------
  
  ''Thomas Hamacher''  
  
+ attachment:sample-web.xml
+ ----
+ I do have experienced some problem when configuring Seam and Ajax4Jsf this way. The problem was that conversation state was not propagated properly.
+ '''Why?'''
+ Because url mapping has higher precedence than servlet mapping. So in the above config the Seam redirect filter comes before the Ajax4Jsf filter. To avoid this pitfall consistent mapping is required.
+ [[BR]]First option: Map Ajax4jsf via url mapping
+ {{{
+     <filter-mapping>
+         <filter-name>ajax4jsf</filter-name>
+         <url-pattern>/*</url-pattern>    
+     </filter-mapping>
+ }}}
+ Second option: configure Seam with servlet mappings. 
+ 
+ BTW:
+ 
+ With Seam 1.2.0 the filter mappings have changed. Ther is now a Seam Master filter which has to be configured. 
+ 
+ ''Carsten Höhne'' 
  
  
- attachment:sample-web.xml
-