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/08/25 21:14:14 UTC

[Myfaces Wiki] Update of "MyFacesComponents" by Jan Dockx

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.
+ 
- To use custom myfaces components, use at the top of your page:
+ To use custom myfaces components in 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, or
+ {{{<jsp:root ....
+    xmlns:x="http://myfaces.apache.org/extensions"
+    ...>}}}
+ in the JSP 2.0 XML compliant syntax.
  
  To use custom myfaces components with facelets, create a ["myfaces.taglib.xml"]
  
+ 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, or 
+ {{{<jsp:root ....
+    xmlns:t="http://myfaces.apache.org/tomahawk"
+    ...>}}}
+ in the JSP 2.0 XML compliant syntax.
+ 
+ This author advises you use the XML compliant syntax.
+ 
+ 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.
+ 
+ 
- for more information, go to: http://myfaces.apache.org/tomahawk/overview.html.
+ For more information, go to: http://myfaces.apache.org/tomahawk/overview.html.
  
  = Validators =
   *["validateCreditCard"]