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 "Facelets with Trinidad" by AdamWiner
Date Tue, 12 Jun 2007 17:33:16 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 AdamWiner:
http://wiki.apache.org/myfaces/Facelets_with_Trinidad

------------------------------------------------------------------------------
    <param-value>.xhtml</param-value>
  </context-param>
  }}}
+ 
+ Alternatively, if you want to use both JSPs and Facelets in the same
+ project, use facelets.VIEW_MAPPINGS:
+ 
+ {{{
+ <!-- FaceletViewHandler configuration -->
+ <context-param>
+   <param-name>org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER</param-name>
+   <param-value>com.sun.facelets.FaceletViewHandler</param-value>
+ </context-param>
+ 
+ <!-- Use documents saved as *.xhtml for Facelets -->
+   <context-param>
+     <param-name>facelets.VIEW_MAPPINGS</param-name>
+     <param-value>*.xhtml</param-value>
+   </context-param>     
+ }}}
+ 
  
  A complete example file is listed below.
  

Mime
View raw message