myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Myfaces Wiki] Update of "TrinidadSeamAjax4JsfFaceletDetail" by baz
Date Thu, 01 Mar 2007 07:41:38 GMT
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
- 

Mime
View raw message