t


Standard Syntax:
     <%@ taglib prefix="t" uri="http://myfaces.apache.org/tomahawk" %>

XML Syntax:
     <anyxmlelement xmlns:t="http://myfaces.apache.org/tomahawk" />

MyFaces subproject that contains components and other goodies to be used with any JSF implementation.

Tag Library Information
Display NameNone
Version1.0.10
Short Namet
URIhttp://myfaces.apache.org/tomahawk
 

Tag Summary
commandButtonExtends standard commandButton by user role support. Unless otherwise specified, all attributes accept static values or EL expressions.
commandLinkExtends standard commandLink by user role support and the HTML target attribute. Unless otherwise specified, all attributes accept static values or EL expressions.
headerLinkExtends standard commandLink by user role support and the HTML target attribute. Unless otherwise specified, all attributes accept static values or EL expressions.
dataTableExtended data_table that adds some additional features to the standard data_table action: see attribute descriptions for preserveDataModel, sortColumn, sortAscending and preserveSort. Unless otherwise specified, all attributes accept static values or EL expressions.
inputHiddenExtends standard inputHidden by providing additional MyFaces goodies. Unless otherwise specified, all attributes accept static values or EL expressions.
inputSecretExtends standard inputSecret, adding the "redisplay" property. Unless otherwise specified, all attributes accept static values or EL expressions.
inputTextExtends standard inputText by user role support. Unless otherwise specified, all attributes accept static values or EL expressions.
inputTextHelpExtends standard inputText by helptext support. Unless otherwise specified, all attributes accept static values or EL expressions.
inputTextareaExtends standard inputTextarea by user role support. Unless otherwise specified, all attributes accept static values or EL expressions.
graphicImageExtends standard graphicImage. Unless otherwise specified, all attributes accept static values or EL expressions.
messageMyFaces extension to the standard messages tag: see summaryDetailSeparator attribute. Unless otherwise specified, all attributes accept static values or EL expressions.
messagesMyFaces extension to the standard messages tag: see showInputLabel attribute. Unless otherwise specified, all attributes accept static values or EL expressions.
outputLabelExtends standard outputLabel with user role support. Unless otherwise specified, all attributes accept static values or EL expressions.
outputTextExtends standard outputText with user role support. Unless otherwise specified, all attributes accept static values or EL expressions.
panelGridExtends standard panelGrid with user role support. Unless otherwise specified, all attributes accept static values or EL expressions.
panelGroupExtends standard panelGroup with user role support. Unless otherwise specified, all attributes accept static values or EL expressions.
selectOneMenuExtends standard selectOneMenu with user role support. Unless otherwise specified, all attributes accept static values or EL expressions.
selectManyMenuExtends standard selectManyMenu with user role support. Unless otherwise specified, all attributes accept static values or EL expressions.
selectOneRadioExtends standard selectOneRadio with user role support. Additionally this extended selectOneRadio accepts a layout attribute of value "spread" (see custom radio tag). Unless otherwise specified, all attributes accept static values or EL expressions.
selectBooleanCheckboxExtends standard selectBooleanCheckbox with user role support. Unless otherwise specified, all attributes accept static values or EL expressions.
selectManyCheckboxExtends standard selectManyCheckbox with user role support. Additionally this extended selectManyCheckbox accepts a layout attribute of value "spread" (see custom checkbox tag). Unless otherwise specified, all attributes accept static values or EL expressions.
selectOneListboxExtends standard selectOneListbox with user role support. Unless otherwise specified, all attributes accept static values or EL expressions.
selectManyListboxExtends standard selectManyListbox with user role support. Unless otherwise specified, all attributes accept static values or EL expressions.
inputCalendarProvides a calendar. Unless otherwise specified, all attributes accept static values or EL expressions.
jsValueChangeListenerValue change listener on client side. Unless otherwise specified, all attributes accept static values or EL expressions.
jsValueSetSetting a value from the model in java-script so that it can be used (e.g. by the value change listener) afterwards. Unless otherwise specified, all attributes accept static values or EL expressions.
checkboxRenders a HTML input of type "checkbox". The associated SelectItem comes from an extended selectManyCheckbox component with layout "spread". The selectManyCheckbox is referenced by the "for" attribute. All HTML pass-through attributes for this input are taken from the associated selectManyCheckbox. Unless otherwise specified, all attributes accept static values or EL expressions.
commandNavigation2Must be nested inside a panel_navigation action and renders a clickable navigation item. This action is derived from the standard command_link action and has equal attributes. (Replaces former "navigation_item" tag.) Unless otherwise specified, all attributes accept static values or EL expressions.
commandNavigationMust be nested inside a panel_navigation action and renders a clickable navigation item. This action is derived from the standard command_link action and has equal attributes. (Replaces former "navigation_item" tag.) Unless otherwise specified, all attributes accept static values or EL expressions.
commandSortHeaderClickable sort column header. Must be nested inside an extended data_table tag. This tag is derived from the standard command_link tag and has the additional attributes columnName and arrow. Note: In contrast to normal command links, the default for the "immediate" attribute is "true". This is desirable as it avoids validating all input fields in the enclosing form when the column sort order changes. HOWEVER when the table contains input components "immediate" must be set to false; otherwise input fields will render blank after a sort, or will show their old values (ie will not appear to sort though output fields in the table will sort) when sort ordering is changed. Unless otherwise specified, all attributes accept static values or EL expressions.
dataListSimilar to dataTable, but does not render a table. Instead the layout attribute controls how each dataRow is rendered. Unless otherwise specified, all attributes accept static values or EL expressions.
dataScrollerScroller for UIData components eg. dataTable Must be nested inside footer facet of dataTable OR for attribute must be given so that corresponding uiData can be found. Unless otherwise specified, all attributes accept static values or EL expressions.
inputDateCustom input control for dates and times. Unless otherwise specified, all attributes accept static values or EL expressions.
inputFileUploadYou must enable the MultiPart Filter to make this component work (see web.xml). Also, don't forget to set the form's attribute "enctype" to "multipart/form-data". See "examples/web/fileupload.jsp" for an example! Unless otherwise specified, all attributes accept static values or EL expressions.
inputHtmlAn inline HTML based word processor based on the Kupu library. See http://kupu.oscom.org Right now, the support is limited to one editor per page (but you can use tabs to have multiple editors, but only one rendered at a time). Unless otherwise specified, all attributes accept static values or EL expressions.
navigationMenuItemA menu item. Used by navigationMenu, jscookMenu. Unless otherwise specified, all attributes accept static values or EL expressions.
navigationMenuItemsA tree of menu items as returned by a value-expression. Unless otherwise specified, all attributes accept static values or EL expressions.
jscookMenuRenders a Javascript Menu. Nested NavigationMenuItem(s) are rendered as Javascript Menu. Unless otherwise specified, all attributes accept static values or EL expressions.
panelLayoutDetermines where its children are positioned within the page relative to each other, similar to a Swing layout component. Unless otherwise specified, all attributes accept static values or EL expressions.
panelNavigation2Renders a vertical menu structure with support for nested menu items. The menu is rendered as unordered List. The menu-tree can be dynamically build using NavigationMenuItem(s). Unless otherwise specified, all attributes accept static values or EL expressions.
panelNavigationRenders a vertical menu structure with support for nested menu items. Unless otherwise specified, all attributes accept static values or EL expressions.
panelTabTODO: Document this component Unless otherwise specified, all attributes accept static values or EL expressions.
panelTabbedPaneTODO: Document this component Unless otherwise specified, all attributes accept static values or EL expressions.
tabChangeListenerTODO: Document this component Unless otherwise specified, all attributes accept static values or EL expressions.
collapsiblePanelA component which just renders as a single icon (with optional label) when "collapsed", hiding all child components. When open, the child components can be seen.

The title attribute defines the label shown for the collapsible panel.

selectOneCountryA localized list of countries choose box. The value binds to the country ISO 3166 code. This is the same code as for java.util.Locale.getCountry(). The official codes list is available here : http://www.iso.ch/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/list-en1.html Unless otherwise specified, all attributes accept static values or EL expressions.
selectOneLanguageA localized list of languages choose box. The value binds to the language ISO 639 code (lowercase). This is the same code as for java.util.Locale.getLanguage(). The official codes list is available here : http://www.loc.gov/standards/iso639-2/englangn.html Unless otherwise specified, all attributes accept static values or EL expressions.
stylesheetRenders the path to a common CSS-file
divPlaces a div around its children. Unless otherwise specified, all attributes accept static values or EL expressions.
htmlTagCreates an arbitrary HTML tag which encloses any child components. The value attribute specifies the name of the generated tag.

If value is an empty string then no tag will be generated, but the child components will be rendered. This differs from setting rendered=false, which prevents child components from being rendered at all.

There is currently no facility for adding attributes to the generated html tag other than those explicitly supported by the attributes on this JSF component.

Unless otherwise specified, all attributes accept static values or EL expressions.

radioRenders a HTML input of type "radio". The associated SelectItem comes from an extended selectOneRadio component with layout "spread". The selectOneRadio is referenced by the "for" attribute. All HTML pass-through attributes for this input are taken from the associated selectOneRadio. Unless otherwise specified, all attributes accept static values or EL expressions.
treeA tree data component. Unless otherwise specified, all attributes accept static values or EL expressions.
treeSelectionListenerTODO: Document this component Unless otherwise specified, all attributes accept static values or EL expressions.
iconProviderTODO: Document this component Unless otherwise specified, all attributes accept static values or EL expressions.
treeColumnRenders a HTML input of type "treeColumn". This tag outlines the column where the tree structure will be render as part of the tree table. Unless otherwise specified, all attributes accept static values or EL expressions.
treeCheckboxRenders a HTML input of type "treeCheckbox". The associated comes from the treeCheckbox itemLabel and itemValue. The selected items come from an extended selectManyCheckbox component with layout "spread". The selectManyCheckbox is referenced by the "for" attribute. All HTML pass-through attributes for this input are taken from the associated selectManyCheckbox. Unless otherwise specified, all attributes accept static values or EL expressions.
tree2A component that provides an HTML-based tree from data supplied by a backing bean. The tree is highly customizable and allows for fine-grained control over the appearance of each of the nodes depending on their type. Almost any type of JSF component (text, image, checkbox, etc.) can be rendered inside the nodes and there is an option for client-side or server-side toggling of the expand/collapse state. Unless otherwise specified, all attributes accept static values or EL expressions.
panelStackA stack of panels, to switch panels dynamically. Unless otherwise specified, all attributes accept static values or EL expressions.
popupRenders a popup which displays on a mouse event. Unless otherwise specified, all attributes accept static values or EL expressions.
newspaperTableA data table for rendering long skinny tables as short wide table by wrapping the table over a specified number of columns. Unless otherwise specified, all attributes accept static values or EL expressions.
aliasBean

A tag that defines a new bean (alias) with a given value. This allows you to design a subform with a generic (fictive) bean and to include it in all the pages where you use it. You just need to make an alias mapping the fictive bean name to the real bean before including the subform.

When used within an aliasBeansScope tag, this tag adds the alias to the aliasBeansScope. This makes configuration with multiple aliasBeans easier to write.

Unless otherwise specified, all attributes accept static values or EL expressions.

aliasBeansScopeThis is like an aliasBean tag, but instead of the alias/value attributes, you configure the aliases by adding aliasBean tags in the body. The aliasBeans should be declared right after this tag. Unless otherwise specified, all attributes accept static values or EL expressions.
bufferUnless otherwise specified, all attributes accept static values or EL expressions.
documentEncapsulates the whole document. Equivalent to htmls tag
documentHeadEncapsulates the head of your document. Equivalent to htmls tag
documentBodyEncapsulates the body of your document. Equivalent to htmls tag
saveStatesaveState enables you to persist beans and values longer than request scope, but shorter than session scope. It is ideal for persisting backing beans and values with the same scope as your view components. It does this by saving the target state with the component tree. Unless otherwise specified, all attributes accept static values or EL expressions.
updateActionListenerRegisters an org.apache.myfaces.custom.updateactionlistener.UpdateActionListener at the parent component (which must be an ActionSource). When the parent's action fires the specified value is evaluated, then written into the specified property. Unless otherwise specified, all attributes accept static values or EL expressions.
validateCreditCardA custom validator for creditCards, based upon Jakarta Commons. Unless otherwise specified, all attributes accept static values or EL expressions.
validateEmailA custom validator for email address format, based upons Jakarta Commons. Unless otherwise specified, all attributes accept static values or EL expressions.
validateRegExprA custom validator for reg. expr., based upons Jakarta Commons. Unless otherwise specified, all attributes accept static values or EL expressions.
validateEqualA custom validator for validations against foreign component values. Unless otherwise specified, all attributes accept static values or EL expressions.
swapImageUnless otherwise specified, all attributes accept static values or EL expressions.
columnsThe tag allows dynamic columns in a datatable. The UIColumns component is used below a t:datatable to create a dynamic count of columns. It is used like a UIData component which iterates through a datamodel to create the columns. Unless otherwise specified, all attributes accept static values or EL expressions.
columnA tag that extend h:column to provide HTML passthrough attributes. Tag t:column can be used instead of h:column in a t:datatable. It provides HTML passthrough attributes for header (th), footer (td) and row cells (td). Unless otherwise specified, all attributes accept static values or EL expressions.
 


Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-3 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.