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 "MyFacesComponents" by Jan Dockx
Date Thu, 25 Aug 2005 19:25:54 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 Jan Dockx:
http://wiki.apache.org/myfaces/MyFacesComponents

------------------------------------------------------------------------------
- Note: currently these pages are in transition between the 1.0.9 "myfaces-extensions" and
the current HEAD. "myfaces-extensions" are renamed "tomahawk" in the HEAD.
+ Note: currently these pages are in transition between the 1.0.9 "myfaces-extensions" and
the current HEAD. "myfaces-extensions" are renamed "Tomahawk" in the HEAD. New material should
describe the situation for Tomahawk.
  
  For more information, go to: http://myfaces.apache.org/tomahawk/overview.html.
  
  = Using Tomahawk Components in a jsp or jspx Page =
- 
- == 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"]
  
  == MyFaces Tomahawk Components ==
  To use Tomahawk components, use at the top of your page:
@@ -42, +24 @@

  
  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"]
  
  == On Prefixes ==
  In either case, the actual prefix or XML namespace you use is for you to decided. The prefix
or XML namespace does not have to be {{{x}}}, resp. {{{t}}}, but merely has to be unique in
the XML document, and used consistently within that XML document. The prefix {{{x}}}, resp.
{{{t}}} is merely a suggestion by the MyFaces authors, but is used by most developers nevertheless.

Mime
View raw message