Differences between revisions 11 and 12
Revision 11 as of 2008-09-16 16:53:26
Size: 4706
Editor: kons-5d84f3bf
Revision 12 as of 2008-09-17 08:26:47
Size: 4698
Editor: kons-5d84fbb8
Comment: panelGrind gets a one component site
Deletions are marked like this. Additions are marked like this.
Line 42: Line 42:
 *["UIPanel"] PanelGrid can span cells  *["PanelGrid"] can span cells

The Official Tomahawk Site

The official site for the Tomahawk library can be found at http://myfaces.apache.org/tomahawk/index.html.

This page is a community-maintained page that contains additional information and errata (corrections) for information on the above site.

Configuring your JSP or JSPX pages to use Tomahawk

Instructions on how to use Tomahawk components in your application can be found at the official site: http://myfaces.apache.org/tomahawk/. There is further information on the ["MyFaces 1.1.0 Tomahawk Components"] page.

Tomahawk can be used with the non-standard (but very nice) Facelets project (an alternative to JSP or JSPX for your pages). You can find more information on the ["Use Facelets with MyFaces"] and ["Use_Facelets_with_Tomahawk"] pages.


  • ["validateCreditCard"]: validate that a String is a valid credit card number
  • ["validateISBN"]: validate that a String is a valid ISBN number
  • ["validateRegExpr"]: general validator that checks compliance with a regular expression
  • ["validateEmail"]: validate that a String is an email address
  • ["validateEqual"]
  • ["validateCompareTo"]: validate that the current component value compares to another component's value in a certain way. (validateEqual contains a subset of this component's functionality.)


Tomahawk offers an extended versions of the standard components, and a number of more advanced additional components. To see tomahawk examples in action, go to: http://www.irian.at/myfaces/home.jsf

Extended Version of Standard Components

All standard components have an equivalent version in Tomahawk. These extended versions feature additional attributes.

Extended features:

  • ["User-role Awareness"] Render the component visible and/or enabled based on the user-roles of the current user.
  • ["DisplayValueOnly"] Toggle between output/input mode

  • ["forceId"] Do not let JSF generate an assembled id of the ids of the component and its parents, instead use the provided id.
  • ["ExtendedMessagesSupport"] Messages automatically replace the id of the message with the corresponding label or column header.

The following standard components have been additionally enhanced:

Advanced Additional Components


The sandbox is growing really fast and the list below is terribly outdated. You really need to download the nightly build to see all the exciting stuff it contains. Daily builds of sandbox examples can be found at: http://www.irian.at/myfaces.jsf (go to "MyFaces Sandbox Examples latest build")


Historical Information

The very early releases (pre 1.1.0) of the above components were called "myfaces-extensions", not Tomahawk.

Tomahawk (last edited 2009-09-20 23:00:38 by localhost)