Tobago Components


Standard Syntax:
     <%@ taglib prefix="tc" uri="http://myfaces.apache.org/tobago/component" %>

XML Syntax:
     <anyxmlelement xmlns:tc="http://myfaces.apache.org/tobago/component" />

Tobago Framework Component Tag Library - (C) Copyright 2002-2005 The Apache Software Foundation

see attribute matrix

Tag Library Information
Display NameTobago Components
Version1.0
Short Nametc
URIhttp://myfaces.apache.org/tobago/component
 

Tag Summary
loadBundleLoad a resource bundle localized for the Locale of the current view from the tobago resource path, and expose it (as a Map) in the request attributes of the current request.
tabChangeListenerRegister an TabChangedListener instance on the UIComponent associated with the closest parent UIComponent custom action.
include**** Deprecated. Will be removed in a future version ****
styleAdd a style tag. Collected bodyContent is rendered as content into a style tag.
forEach**** Deprecated. Will be removed in a future version **** Replacement for the JSTL tag.
This tags iterates over the body content without setting up an exported scope variable, but replaces all occurrence's of var in TobagoTag's ValueBinding attributes.
All non TobagoTags are treated as they are, no replacement is done, and so no ability to use the var in el.
scriptThis tag add client side script to the rendered page.
selectManyCheckboxRender a group of checkboxes.
tree**** Preliminary. Maybe subject to changed in a future version: Implement a var attribute for the tree like in the sheet (http://issues.apache.org/jira/browse/TOBAGO-18) **** Renders a tree view.
selectOneRadioRender a set of radiobuttons.
selectBooleanCheckboxRenders a checkbox.
toolBar

Renders a toolbar.

Allowed subcomponents are subtypes of UICommand i.e. 'button' and 'link' tags. These are rendered by ToolbarRenderer, so the result has no difference.

To add an dropdown menu to a button add a facet 'menupopup' containing a <tobago:menu> tag to the button. Label's and Image's on those menu tag's are ignored and replaced by the renderer.

          
toolBarCheckRenders a selectable command button within a toolbar.
selectItemAdd a child UISelectItem component to the UIComponent associated with the closed parent UIComponent custom action.
menuRadioRenders a submenu with select one items (like a radio button).
menuItemRenders a menu item.
sheetRender a sheet element.
inRenders a text input field.
menuBarRenders a menu bar.
Add menu bar as facet name="menuBar" to page tag or use it anywhere on page.
menucheck**** Deprecated. Will be removed in a future version **** Renders a checkable menuitem.
toolBarSelectOneRenders a set of radio command button's within a toolbar.
boxRenders a panel with border and title.
buttonRenders a button element.
selectManyListboxRender a multi selection option listbox.
progressRenders a progressbar.
outRenders a text
messageRenders error/validation message.
menuCheckboxRenders a checkable menuitem.
menuContainer component to hold submenus and items.
selectReferenceRenders a set of option related to and same type as the for component.
cellRenders a layout cell. A panel with ability to span over more than one layout cells.
popupRenders a popup panel.
panelIntended for use in situations when only one UIComponent child can be nested, such as in the case of facets.
dateRenders a date input field.
treeListbox**** Preliminary. Maybe subject to changed in a future version: Implement a var attribute for the tree like in the sheet (http://issues.apache.org/jira/browse/TOBAGO-18) **** Renders a listbox view of a tree.
calendarRenders a calendar.
labelRenders a label component.
gridLayoutNo Description
toolBarCommandRenders a command button within a toolbar.
menuradio**** Deprecated. Will be removed in a future version **** Renders a submenu with select one items.
fileRenders a file input field.
pageTODO description of page tag
selectOneListboxRender a single selection option listbox.
hiddenRenders a 'hidden' input element.
messagesRenders error/validation messages.
columnRenders a UIComponent that represents a single column of data within a parent UIData component.
tabGroupRenders a tabpanel.
timeRenders a time input field.
formNo Description
imageRenders a Image.
objectNo Description
tabrenders a tab within a tabgroup.
menuSeparatorRenders a separator.
selectOneChoiceRender a single selection dropdown list.
columnSelectorRenders a column with checkboxes to mark selected row's.
linkRenders a link element.
textareaRenders a multiline text input control.
 

Listeners
org.apache.myfaces.tobago.webapp.TobagoServletContextListener
 


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.