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 2005/09/19 02:08:55 UTC
[Myfaces Wiki] Update of "MyFacesComponents" by MartinMarinschek
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 MartinMarinschek:
http://wiki.apache.org/myfaces/MyFacesComponents
------------------------------------------------------------------------------
For more information, go to: http://myfaces.apache.org/tomahawk/overview.html.
- = Using Tomahawk Components in a jsp or jspx Page =
+ = Configuring your JSP or JSPX pages to use MyFaces components =
+ *["MyFaces 1.1.0 Tomahawk Components"]: Using MyFaces 1.1.0 Tomahawk Components in your pages
+ *["MyFaces 1.0.9 Extension Components"]: Using MyFaces 1.0.9 Extension Components in your pages
- == MyFaces Tomahawk Components ==
- To use Tomahawk components, use at the top of your page:
- {{{
- <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
- }}}
- in the JSP 1.0 syntax ({{{.jsp}}} page), or
- {{{
- <jsp:root xmlns="http://www.w3.org/1999/xhtml"
- xml:lang="en-US"
- xmlns:jsp="http://java.sun.com/JSP/Page"
- ...
- xmlns:t="http://myfaces.apache.org/tomahawk"
- ...>
- }}}
- in the JSP 2.0 XML compliant syntax ({{{.jspx}}} JSP document).
-
- This author advises you use the XML compliant syntax.
-
-
- == MyFaces 1.0.9 Extensions ==
- To use custom myfaces components of the 1.0.9 distribution, use at the top of your page:
- {{{
- <%@ taglib uri="http://myfaces.apache.org/extensions" prefix="x"%>
- }}}
- in the JSP 1.0 syntax ({{{.jsp}}} page), or
- {{{
- <jsp:root xmlns="http://www.w3.org/1999/xhtml"
- xml:lang="en-US"
- xmlns:jsp="http://java.sun.com/JSP/Page"
- ...
- xmlns:x="http://myfaces.apache.org/extensions"
- ...>
- }}}
- in the JSP 2.0 XML compliant syntax ({{{.jspx}}} JSP document).
To use custom myfaces components with facelets, create a ["myfaces.taglib.xml"]