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 2006/08/28 23:34:47 UTC
[Myfaces Wiki] Trivial Update of "Use Facelets with Tomahawk" by LanceFrohman
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 LanceFrohman:
http://wiki.apache.org/myfaces/Use_Facelets_with_Tomahawk
------------------------------------------------------------------------------
a. rename file xxx.jsp to xxx.xhtml
b. add namespaces to the root level xml element
- {{{<f:view>}}}
+ {{{
+ <f:view>
+ }}}
becomes
+ {{{
- {{{<f:view
+ <f:view
xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets">}}}
+ xmlns:ui="http://java.sun.com/jsf/facelets">
+ }}}
c. remove jsp directives, change
+ {{{
- {{{<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
+ <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
}}}
to
@@ -713, +718 @@
e. for each jsf lib you add, you must put the corresponding taglib.xml file under .../WEB-INF/
f. convert other jsp tags, e.g.
+ {{{
- {{{<% /* my comment */ %>}}}
+ <% /* my comment */ %>
+ }}}
becomes
- <!-- my comment -->
+ {{{<!-- my comment -->}}}
+ g. change all xml entities to numerical form, e.g. becomes  
+
- g. if you have any other conversion steps, please add them here.
+ h. if you have any other conversion steps, please add them here.
+