Differences between revisions 12 and 13
Revision 12 as of 2008-09-17 08:26:47
Size: 4698
Comment: panelGrind gets a one component site
Revision 13 as of 2009-09-20 23:00:38
Size: 4686
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 10: Line 10:
There is further information on the ["MyFaces 1.1.0 Tomahawk Components"] page. There is further information on the [[MyFaces_1.1.0_Tomahawk_Components]] page.
Line 13: Line 13:
You can find more information on the ["Use Facelets with MyFaces"] and ["Use_Facelets_with_Tomahawk"] pages. You can find more information on the [[Use Facelets with MyFaces]] and [[Use_Facelets_with_Tomahawk]] pages.
Line 16: Line 16:
 *["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.)
 *[[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.)
Line 33: Line 33:
 *["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.
 *[[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.
Line 40: Line 40:
 *["Extended Data Table"]
 *["HtmlSelectManyCheckbox"]
 *["PanelGrid"] can span cells
 *[[Extended_Data_Table]]
 *[[HtmlSelectManyCheckbox]]
 *[[PanelGrid]] can span cells
Line 46: Line 46:
 *["AliasBean"]: introduce variables in a limited scope inside a JSF page (also used to pass parameters to include files)
 *["AliasScope"]: see ["AliasBean"]
 *["
Buffer"]
 *["
CAPTCHA"]
 *["
Checkbox"]
 *["
Collapsible Panel"]
 *["Column"]
 *["
CommandNavigation"]
 *["
Data List"]
 *["
Data Scroller"]
 *["
Document Tags"]: document, documentHead, documentBody
 *["Div"]
 *["
Dynamic Columns"]
 *["
File Upload"]
 *["
Html"]
 *["
Html Editor"]
 *["
InputCalendar"]
 *["
InputDate"]
 *["
InputTextHelp"]
 *["
Javascript Listener"]
 *["
JSCook Menu"]
 *["
JSValueChangeListener"]
 *["
JSValueSetTag"]
 *["
NavigationMenuItem"]
 *["
NavigationMenuItems"]
 * Newspaper Table -- See ["Extended Data Table"] after May 17th snapshot.
 *["Panel Layout"]
 *["
Panel Navigation"]
 *["
Panel Stack"]
 *["
Popup"]
 *["
Radio"]
 *["
RSS Ticker"]
 *["
SaveState"]
 *["
SelectOneCountry"]
 *["
SelectOneLanguage"]
 *["
Sort Header"]
 *["
Style Sheet"]
 *["
SubForm"]
 *["
SwapImage"]
 *["
TabbedPane"]
 *["Tree"]
 *[wiki:
/TreeSelectionListener treeSelectionListener]
 *[wiki:
/IconProvider iconProvider]
 *[wiki:
/TreeColumn treeColumn]
 *[wiki:
/TreeCheckbox treeCheckbox]
 *["Tree
Table"]
 *["
Tree2"]: interactive tree, that can be used client side (JavaScript) or server side
 *["UpdateActionListener"]
 *[[AliasBean]]: introduce variables in a limited scope inside a JSF page (also used to pass parameters to include files)
 *[[AliasScope]]: see [[AliasBean]]
 *[[
Buffer]]
 *[[
CAPTCHA]]
 *[[
Checkbox]]
 *[[
Collapsible Panel]]
 *[[Column]]
 *[[
CommandNavigation]]
 *[[
Data_List]]
 *[[
Data_Scroller]]
 *[[
Document Tags]]: document, documentHead, documentBody
 *[[Div]]
 *[[
Dynamic_Columns]]
 *[[
File_Upload]]
 *[[
Html]]
 *[[
Html Editor]]
 *[[
InputCalendar]]
 *[[
InputDate]]
 *[[
InputTextHelp]]
 *[[
Javascript Listener]]
 *[[
JSCook_Menu]]
 *[[
JSValueChangeListener]]
 *[[
JSValueSetTag]]
 *[[
NavigationMenuItem]]
 *[[
NavigationMenuItems]]
 * Newspaper Table -- See [[Extended_Data_Table]] after May 17th snapshot.
 *[[Panel Layout]]
 *[[
Panel_Navigation]]
 *[[
Panel Stack]]
 *[[
Popup]]
 *[[
Radio]]
 *[[
RSS Ticker]]
 *[[
SaveState]]
 *[[
SelectOneCountry]]
 *[[
SelectOneLanguage]]
 *[[
Sort Header]]
 *[[
Style_Sheet]]
 *[[
SubForm]]
 *[[
SwapImage]]
 *[[
TabbedPane]]
 *[[Tree]]
 *[[
/TreeSelectionListener|treeSelectionListener]]
 *[[
/IconProvider|iconProvider]]
 *[[
/TreeColumn|treeColumn]]
 *[[
/TreeCheckbox|treeCheckbox]]
 *[[Tree_
Table]]
 *[[
Tree2]]: interactive tree, that can be used client side (JavaScript) or server side
 *[[UpdateActionListener]]
Line 98: Line 98:
 *["AutoUpdateDataTable"]
 *["
ConvertBoolean"]
 *["
Effects"]
 *["
ExporterActionListener"]
 *["
Fieldset"]
 *["
Focus"]
 *["
Form"]
 *["
HtmlCommandButtonAjax"]
 *["
HtmlSelectManyCheckboxAjax"]
 *["
HtmlSelectOneRadioAjax"]
 *["
InputSuggest"]
 *["
InputSuggestAjax"]
 *["
InputTextAjax"]
 *["
Planner"]
 *["
SecurityContext"]
 *["
selectManyPicklist"]
 *["
Schedule"]
 *["Scope"]
 *["
SubmitOnEvent"]
 *["
ValidateURL"]
 *["
ConversationTag"]
 *["
PasswordStrength"]
 *[[AutoUpdateDataTable]]
 *[[
ConvertBoolean]]
 *[[
Effects]]
 *[[
ExporterActionListener]]
 *[[
Fieldset]]
 *[[
Focus]]
 *[[
Form]]
 *[[
HtmlCommandButtonAjax]]
 *[[
HtmlSelectManyCheckboxAjax]]
 *[[
HtmlSelectOneRadioAjax]]
 *[[
InputSuggest]]
 *[[
InputSuggestAjax]]
 *[[
InputTextAjax]]
 *[[
Planner]]
 *[[
SecurityContext]]
 *[[
selectManyPicklist]]
 *[[
Schedule]]
 *[[Scope]]
 *[[
SubmitOnEvent]]
 *[[
ValidateURL]]
 *[[
ConversationTag]]
 *[[
PasswordStrength]]
Line 122: Line 122:
 *["DefaultAddResource"]
 *["StreamingAddResource"]
 *[[DefaultAddResource]]
 *[[StreamingAddResource]]

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.

Validators

  • 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.)

Components

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

Sandbox:

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")

Specials

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)