Tag reference sheet

Tag library reference for the following tag libraries:

Tobago Extensions 1.5.x

Tobago Framework Extension Tag Library 1.5.x - (C) Copyright 2005-2011 The Apache Software Foundation

This is version 1.2.

Required attributes are marked with a *

<tx:date>

Renders a date input field with a date picker and a label. Short syntax of:

 <tc:panel>
   <f:facet name="layout">
     <tc:gridLayout columns="auto;*"/>
   </f:facet>
   <tc:label value="#{label}" for="@auto"/>
   <tc:date value="#{value}">
     ...
   </tc:in>
 </tc:panel>
 

Extended tag: org.apache.myfaces.tobago.internal.taglib.DateTag

Can contain: JSP

Attributes

NameDescriptionType
bindingThe value binding expression linking this component to a property in a backing bean.Type: javax.faces.component.UIComponentString
converterAn expression that specifies the Converter for this component. If the value binding expression is a String, the String is used as an ID to look up a Converter. If the value binding expression is a Converter, uses that instance as the converter. The value can either be a static value (ID case only) or an EL expression.Type: javax.faces.convert.ConverterString
converterMessageAn expression that specifies the converter messageType: java.lang.StringString
disabledFlag indicating that this element is disabled.Type: booleanDefault: falseString
fieldIdThe component identifier for the input field component inside of the container. This value must be unique within the closest parent component that is a naming container.Type: java.lang.StringString
focusFlag indicating this component should receive the focus.Type: booleanDefault: falseString
formIdThe component identifier for the automatically created form component inside of the container. This value must be unique within the closest parent component that is a naming container.Type: java.lang.StringString
idThe component identifier for this component. This value must be unique within the closest parent component that is a naming container. For tx components the id will be set to the container (e. g. the panel). To set the id of the input field, you have to use the attribute "fieldId".Type: java.lang.StringString
labelText value to display as label. If text contains an underscore the next character is used as accesskey.Type: java.lang.StringString
labelWidthThe width for the label component. Default: 'auto'. This value is used in the gridLayouts columns attribute. See gridLayout tag for valid values.Type: java.lang.StringString
markupIndicate markup of this component. Possible value is 'none'. But this can be overridden in the theme.Type: java.lang.String[]Default: noneString
onchangeClientside script function to add to this component's onchange handler.Type: java.lang.StringString
pickerIdThe component identifier for the automatically created picker component inside of the container. This value must be unique within the closest parent component that is a naming container.Type: java.lang.StringString
readonlyFlag indicating that this component will prohibit changes by the user.Type: booleanDefault: falseString
renderedFlag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.Type: booleanDefault: trueString
requiredFlag indicating that a value is required. If the value is an empty string a ValidationError occurs and a Error Message is rendered.Type: booleanDefault: falseString
requiredMessageAn expression that specifies the required messageType: java.lang.StringString
tabIndexType: java.lang.IntegerString
tipText value to display as tooltip.Type: java.lang.StringString
validatorA method binding EL expression, accepting FacesContext, UIComponent, and Object parameters, and returning void, that validates the component's local value.String
validatorMessageAn expression that specifies the validator messageType: java.lang.StringString
valueThe current value of this component.Type: java.lang.ObjectString
valueChangeListenerMethodBinding representing a value change listener method that will be notified when a new value has been set for this input component. The expression must evaluate to a public method that takes a ValueChangeEvent parameter, with a return type of void.String
inline

**** @deprecated. Will be removed in a future version ****

This should be handled by e.g. a flow layout manager (since 1.5.0)

Flag indicating this component should rendered as an inline element.Type: booleanDefault: false
String

<tx:file>

Renders a file input field with a label.

Short syntax of:

 <tc:panel>
   <f:facet name="layout">
     <tc:gridLayout columns="auto;*"/>
   </f:facet>
   <tc:label value="#{label}" for="@auto"/>
   <tc:file value="#{value}">
     ...
   </tc:in>
 </tc:panel>
 

Extended tag: org.apache.myfaces.tobago.internal.taglib.FileTag

Can contain: JSP

Attributes

NameDescriptionType
bindingThe value binding expression linking this component to a property in a backing bean.Type: javax.faces.component.UIComponentString
converterMessageAn expression that specifies the converter messageType: java.lang.StringString
disabledFlag indicating that this element is disabled.Type: booleanDefault: falseString
fieldIdThe component identifier for the input field component inside of the container. This value must be unique within the closest parent component that is a naming container.Type: java.lang.StringString
focusFlag indicating this component should receive the focus.Type: booleanDefault: falseString
idThe component identifier for this component. This value must be unique within the closest parent component that is a naming container. For tx components the id will be set to the container (e. g. the panel). To set the id of the input field, you have to use the attribute "fieldId".Type: java.lang.StringString
labelText value to display as label. If text contains an underscore the next character is used as accesskey.Type: java.lang.StringString
labelWidthThe width for the label component. Default: 'auto'. This value is used in the gridLayouts columns attribute. See gridLayout tag for valid values.Type: java.lang.StringString
onchangeClientside script function to add to this component's onchange handler.Type: java.lang.StringString
renderedFlag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.Type: booleanDefault: trueString
requiredFlag indicating that a value is required. If the value is an empty string a ValidationError occurs and a Error Message is rendered.Type: booleanDefault: falseString
requiredMessageAn expression that specifies the required messageType: java.lang.StringString
tabIndexType: java.lang.IntegerString
tipText value to display as tooltip.Type: java.lang.StringString
validatorA method binding EL expression, accepting FacesContext, UIComponent, and Object parameters, and returning void, that validates the component's local value.String
validatorMessageAn expression that specifies the validator messageType: java.lang.StringString
valueThe current value of this component.Type: java.lang.ObjectString
valueChangeListenerMethodBinding representing a value change listener method that will be notified when a new value has been set for this input component. The expression must evaluate to a public method that takes a ValueChangeEvent parameter, with a return type of void.String

<tx:in>

Renders a text input field with a label. Short syntax of:

 <tc:panel>
   <f:facet name="layout">
     <tc:gridLayout columns="auto;*"/>
   </f:facet>
   <tc:label value="#{label}" for="@auto"/>
   <tc:in value="#{value}">
     ...
   </tc:in>
 </tc:panel>
 

Extended tag: org.apache.myfaces.tobago.internal.taglib.InTag

Can contain: JSP

Attributes

NameDescriptionType
bindingThe value binding expression linking this component to a property in a backing bean.Type: javax.faces.component.UIComponentString
converterAn expression that specifies the Converter for this component. If the value binding expression is a String, the String is used as an ID to look up a Converter. If the value binding expression is a Converter, uses that instance as the converter. The value can either be a static value (ID case only) or an EL expression.Type: javax.faces.convert.ConverterString
converterMessageAn expression that specifies the converter messageType: java.lang.StringString
disabledFlag indicating that this element is disabled.Type: booleanDefault: falseString
fieldIdThe component identifier for the input field component inside of the container. This value must be unique within the closest parent component that is a naming container.Type: java.lang.StringString
focusFlag indicating this component should receive the focus.Type: booleanDefault: falseString
idThe component identifier for this component. This value must be unique within the closest parent component that is a naming container. For tx components the id will be set to the container (e. g. the panel). To set the id of the input field, you have to use the attribute "fieldId".Type: java.lang.StringString
labelText value to display as label. If text contains an underscore the next character is used as accesskey.Type: java.lang.StringString
labelWidthThe width for the label component. Default: 'auto'. This value is used in the gridLayouts columns attribute. See gridLayout tag for valid values.Type: java.lang.StringString
markupIndicate markup of this component. Possible value is 'none'. But this can be overridden in the theme.Type: java.lang.String[]Default: noneString
onchangeClientside script function to add to this component's onchange handler.Type: java.lang.StringString
passwordFlag indicating whether or not this component should be rendered as password field , so you will not see the typed charakters.Type: booleanDefault: falseString
readonlyFlag indicating that this component will prohibit changes by the user.Type: booleanDefault: falseString
renderedFlag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.Type: booleanDefault: trueString
requiredFlag indicating that a value is required. If the value is an empty string a ValidationError occurs and a Error Message is rendered.Type: booleanDefault: falseString
requiredMessageAn expression that specifies the required messageType: java.lang.StringString
suggestMethodnullString
tabIndexType: java.lang.IntegerString
tipText value to display as tooltip.Type: java.lang.StringString
validatorA method binding EL expression, accepting FacesContext, UIComponent, and Object parameters, and returning void, that validates the component's local value.String
validatorMessageAn expression that specifies the validator messageType: java.lang.StringString
valueThe current value of this component.Type: java.lang.ObjectString
valueChangeListenerMethodBinding representing a value change listener method that will be notified when a new value has been set for this input component. The expression must evaluate to a public method that takes a ValueChangeEvent parameter, with a return type of void.String

<tx:label>

Renders a label to any component. Short syntax of:
 <tc:panel>
   <f:facet name="layout">
     <tc:gridLayout columns="auto;*"/>
   </f:facet>
   <tc:label value="#{label}" for="@auto"/>
     ...
 </tc:panel>
 
This is the universal version of the special versions: <tx:in>, etc. In other words:
 <tx:label>
   <tc:in/>
 </tx:label>
 
does the same like
   <tx:in/>
 

Extended tag: org.apache.myfaces.tobago.internal.taglib.LabelTag

Can contain: JSP

Attributes

NameDescriptionType
labelWidthThe width for the label component. Default: 'auto'. This value is used in the gridLayouts columns attribute. See gridLayout tag for valid values.Type: java.lang.StringString
markupIndicate markup of this component. Possible value is 'none'. But this can be overridden in the theme.Type: java.lang.String[]Default: noneString
renderedFlag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.Type: booleanDefault: trueString
tipText value to display as tooltip.Type: java.lang.StringString
valueThe current value of this component.Type: java.lang.ObjectString

<tx:menuCheckbox>

Renders a menu item like a check box.
 <tx:menuCheckbox/>
is the short form of
 <tc:menuCommand>
   <f:facet name="checkbox">
     <tc:selectBooleanCheckbox/>
   </f:facet>
 </tc:menuCommand>

Extended tag: org.apache.myfaces.tobago.internal.taglib.component.MenuCheckboxTag

Can contain: JSP

Attributes

NameDescriptionType
actionAction to invoke when clicked. This must be a MethodBinding or a String representing the application action to invoke when this component is activated by the user. The MethodBinding must evaluate to a public method that takes no parameters, and returns a String (the logical outcome) which is passed to the NavigationHandler for this application. The String is directly passed to the Navigationhandler.String
actionListenerMethodBinding representing an action listener method that will be notified when this component is activated by the user. The expression must evaluate to a public method that takes an ActionEvent parameter, with a return type of void.String
bindingThe value binding expression linking this component to a property in a backing bean.Type: javax.faces.component.UIComponentString
disabledFlag indicating that this element is disabled.Type: booleanDefault: falseString
fieldIdThe component identifier for the input field component inside of the container. This value must be unique within the closest parent component that is a naming container.Type: java.lang.StringString
idThe component identifier for this component. This value must be unique within the closest parent component that is a naming container. For tx components the id will be set to the container (e. g. the panel). To set the id of the input field, you have to use the attribute "fieldId".Type: java.lang.StringString
immediateFlag indicating that, if this component is activated by the user, notifications should be delivered to interested listeners and actions immediately (that is, during Apply Request Values phase) rather than waiting until Invoke Application phase.Type: booleanDefault: falseString
labelText value to display as label. If text contains an underscore the next character is used as accesskey.Type: java.lang.StringString
linkLink to an arbitrary URLType: java.lang.StringString
onclickScript to be invoked when clickedType: java.lang.StringString
renderedFlag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.Type: booleanDefault: trueString
renderedPartiallyIndicate the partially rendered Components in a case of a submit.Type: java.lang.String[]String
transitionSpecify, if the command calls an JSF-Action. Useful to switch off the Double-Submit-Check and Waiting-Behavior.Type: booleanDefault: trueString
valueThe current value of this component.Type: java.lang.ObjectString

<tx:menuRadio>

Renders menu items like radio buttons (select one).
 <tx:menuRadio>
   <tc:selectItems/> <!-- body -->
 </tx:menuRadio>
is the short form of
 <tc:menuCommand>
   <f:facet name="radio">
     <tc:selectOneRadio>
       <tc:selectItems/> <!-- body -->
     </tc:selectOneRadio>
   </f:facet>
 </tc:menuCommand>

Extended tag: org.apache.myfaces.tobago.internal.taglib.MenuRadioTag

Can contain: JSP

Attributes

NameDescriptionType
actionAction to invoke when clicked. This must be a MethodBinding or a String representing the application action to invoke when this component is activated by the user. The MethodBinding must evaluate to a public method that takes no parameters, and returns a String (the logical outcome) which is passed to the NavigationHandler for this application. The String is directly passed to the Navigationhandler.String
actionListenerMethodBinding representing an action listener method that will be notified when this component is activated by the user. The expression must evaluate to a public method that takes an ActionEvent parameter, with a return type of void.String
bindingThe value binding expression linking this component to a property in a backing bean.Type: javax.faces.component.UIComponentString
converterAn expression that specifies the Converter for this component. If the value binding expression is a String, the String is used as an ID to look up a Converter. If the value binding expression is a Converter, uses that instance as the converter. The value can either be a static value (ID case only) or an EL expression.Type: javax.faces.convert.ConverterString
disabledFlag indicating that this element is disabled.Type: booleanDefault: falseString
fieldIdThe component identifier for the input field component inside of the container. This value must be unique within the closest parent component that is a naming container.Type: java.lang.StringString
idThe component identifier for this component. This value must be unique within the closest parent component that is a naming container. For tx components the id will be set to the container (e. g. the panel). To set the id of the input field, you have to use the attribute "fieldId".Type: java.lang.StringString
immediateFlag indicating that, if this component is activated by the user, notifications should be delivered to interested listeners and actions immediately (that is, during Apply Request Values phase) rather than waiting until Invoke Application phase.Type: booleanDefault: falseString
labelText value to display as label. If text contains an underscore the next character is used as accesskey.Type: java.lang.StringString
linkLink to an arbitrary URLType: java.lang.StringString
onclickScript to be invoked when clickedType: java.lang.StringString
renderedFlag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.Type: booleanDefault: trueString
renderedPartiallyIndicate the partially rendered Components in a case of a submit.Type: java.lang.String[]String
transitionSpecify, if the command calls an JSF-Action. Useful to switch off the Double-Submit-Check and Waiting-Behavior.Type: booleanDefault: trueString
valueThe current value of this component.Type: java.lang.ObjectString

<tx:selectBooleanCheckbox>

Renders a checkbox.

Extended tag: org.apache.myfaces.tobago.internal.taglib.SelectBooleanCheckboxTag

Can contain: JSP

Attributes

NameDescriptionType
bindingThe value binding expression linking this component to a property in a backing bean.Type: javax.faces.component.UIComponentString
converterAn expression that specifies the Converter for this component. If the value binding expression is a String, the String is used as an ID to look up a Converter. If the value binding expression is a Converter, uses that instance as the converter. The value can either be a static value (ID case only) or an EL expression.Type: javax.faces.convert.ConverterString
converterMessageAn expression that specifies the converter messageType: java.lang.StringString
disabledFlag indicating that this element is disabled.Type: booleanDefault: falseString
fieldIdThe component identifier for the input field component inside of the container. This value must be unique within the closest parent component that is a naming container.Type: java.lang.StringString
focusFlag indicating this component should receive the focus.Type: booleanDefault: falseString
idThe component identifier for this component. This value must be unique within the closest parent component that is a naming container. For tx components the id will be set to the container (e. g. the panel). To set the id of the input field, you have to use the attribute "fieldId".Type: java.lang.StringString
itemLabelLabel to be displayed to the user for this option. This label will displayed beneath the component like the label of other check box components.Type: java.lang.StringString
labelText value to display as label. If text contains an underscore the next character is used as accesskey.Type: java.lang.StringString
labelWidthThe width for the label component. Default: 'auto'. This value is used in the gridLayouts columns attribute. See gridLayout tag for valid values.Type: java.lang.StringString
markupIndicate markup of this component. Possible value is 'none'. But this can be overridden in the theme.Type: java.lang.String[]Default: noneString
onchangeClientside script function to add to this component's onchange handler.Type: java.lang.StringString
readonlyFlag indicating that this component will prohibit changes by the user.Type: booleanDefault: falseString
renderedFlag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.Type: booleanDefault: trueString
requiredFlag indicating that a value is required. If the value is an empty string a ValidationError occurs and a Error Message is rendered.Type: booleanDefault: falseString
requiredMessageAn expression that specifies the required messageType: java.lang.StringString
tabIndexType: java.lang.IntegerString
tipText value to display as tooltip.Type: java.lang.StringString
validatorA method binding EL expression, accepting FacesContext, UIComponent, and Object parameters, and returning void, that validates the component's local value.String
validatorMessageAn expression that specifies the validator messageType: java.lang.StringString
valueThe current value of this component.Type: java.lang.BooleanString
valueChangeListenerMethodBinding representing a value change listener method that will be notified when a new value has been set for this input component. The expression must evaluate to a public method that takes a ValueChangeEvent parameter, with a return type of void.String

<tx:selectManyCheckbox>

Render a group of checkboxes.

Extended tag: org.apache.myfaces.tobago.internal.taglib.SelectManyCheckboxTag

Can contain: JSP

Attributes

NameDescriptionType
bindingThe value binding expression linking this component to a property in a backing bean.Type: javax.faces.component.UIComponentString
converterAn expression that specifies the Converter for this component. If the value binding expression is a String, the String is used as an ID to look up a Converter. If the value binding expression is a Converter, uses that instance as the converter. The value can either be a static value (ID case only) or an EL expression.Type: javax.faces.convert.ConverterString
converterMessageAn expression that specifies the converter messageType: java.lang.StringString
disabledFlag indicating that this element is disabled.Type: booleanDefault: falseString
fieldIdThe component identifier for the input field component inside of the container. This value must be unique within the closest parent component that is a naming container.Type: java.lang.StringString
focusFlag indicating this component should receive the focus.Type: booleanDefault: falseString
idThe component identifier for this component. This value must be unique within the closest parent component that is a naming container. For tx components the id will be set to the container (e. g. the panel). To set the id of the input field, you have to use the attribute "fieldId".Type: java.lang.StringString
inlineFlag indicating this component should rendered as an inline element.Type: booleanDefault: falseString
labelText value to display as label. If text contains an underscore the next character is used as accesskey.Type: java.lang.StringString
labelWidthThe width for the label component. Default: 'auto'. This value is used in the gridLayouts columns attribute. See gridLayout tag for valid values.Type: java.lang.StringString
markupIndicate markup of this component. Possible value is 'none'. But this can be overridden in the theme.Type: java.lang.String[]Default: noneString
onchangeClientside script function to add to this component's onchange handler.Type: java.lang.StringString
readonlyFlag indicating that this component will prohibit changes by the user.Type: booleanDefault: falseString
renderRangeRange of items to render.Type: java.lang.StringString
renderedFlag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.Type: booleanDefault: trueString
requiredFlag indicating that a value is required. If the value is an empty string a ValidationError occurs and a Error Message is rendered.Type: booleanDefault: falseString
requiredMessageAn expression that specifies the required messageType: java.lang.StringString
tabIndexType: java.lang.IntegerString
tipText value to display as tooltip.Type: java.lang.StringString
validatorA method binding EL expression, accepting FacesContext, UIComponent, and Object parameters, and returning void, that validates the component's local value.String
validatorMessageAn expression that specifies the validator messageType: java.lang.StringString
valueThe current value of this component.Type: java.lang.ObjectString
valueChangeListenerMethodBinding representing a value change listener method that will be notified when a new value has been set for this input component. The expression must evaluate to a public method that takes a ValueChangeEvent parameter, with a return type of void.String

<tx:selectManyListbox>

Renders a multi selection option listbox with a label.

Extended tag: org.apache.myfaces.tobago.internal.taglib.SelectManyListboxTag

Can contain: JSP

Attributes

NameDescriptionType
bindingThe value binding expression linking this component to a property in a backing bean.Type: javax.faces.component.UIComponentString
converterAn expression that specifies the Converter for this component. If the value binding expression is a String, the String is used as an ID to look up a Converter. If the value binding expression is a Converter, uses that instance as the converter. The value can either be a static value (ID case only) or an EL expression.Type: javax.faces.convert.ConverterString
converterMessageAn expression that specifies the converter messageType: java.lang.StringString
disabledFlag indicating that this element is disabled.Type: booleanDefault: falseString
fieldIdThe component identifier for the input field component inside of the container. This value must be unique within the closest parent component that is a naming container.Type: java.lang.StringString
focusFlag indicating this component should receive the focus.Type: booleanDefault: falseString
idThe component identifier for this component. This value must be unique within the closest parent component that is a naming container. For tx components the id will be set to the container (e. g. the panel). To set the id of the input field, you have to use the attribute "fieldId".Type: java.lang.StringString
labelText value to display as label. If text contains an underscore the next character is used as accesskey.Type: java.lang.StringString
labelWidthThe width for the label component. Default: 'auto'. This value is used in the gridLayouts columns attribute. See gridLayout tag for valid values.Type: java.lang.StringString
markupIndicate markup of this component. Possible value is 'none'. But this can be overridden in the theme.Type: java.lang.String[]Default: noneString
onchangeClientside script function to add to this component's onchange handler.Type: java.lang.StringString
readonlyFlag indicating that this component will prohibit changes by the user.Type: booleanDefault: falseString
renderedFlag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.Type: booleanDefault: trueString
requiredFlag indicating that a value is required. If the value is an empty string a ValidationError occurs and a Error Message is rendered.Type: booleanDefault: falseString
requiredMessageAn expression that specifies the required messageType: java.lang.StringString
tabIndexType: java.lang.IntegerString
tipText value to display as tooltip.Type: java.lang.StringString
validatorA method binding EL expression, accepting FacesContext, UIComponent, and Object parameters, and returning void, that validates the component's local value.String
validatorMessageAn expression that specifies the validator messageType: java.lang.StringString
valueThe current value of this component.Type: java.lang.ObjectString
valueChangeListenerMethodBinding representing a value change listener method that will be notified when a new value has been set for this input component. The expression must evaluate to a public method that takes a ValueChangeEvent parameter, with a return type of void.String
inline

**** @deprecated. Will be removed in a future version ****

This should be handled by e.g. a flow layout manager (since 1.5.0)

Flag indicating this component should rendered as an inline element.Type: booleanDefault: false
String

<tx:selectManyShuttle>

Renders a multi selection option shuttle with a label.

Extended tag: org.apache.myfaces.tobago.internal.taglib.SelectManyShuttleTag

Can contain: JSP

Attributes

NameDescriptionType
bindingThe value binding expression linking this component to a property in a backing bean.Type: javax.faces.component.UIComponentString
converterAn expression that specifies the Converter for this component. If the value binding expression is a String, the String is used as an ID to look up a Converter. If the value binding expression is a Converter, uses that instance as the converter. The value can either be a static value (ID case only) or an EL expression.Type: javax.faces.convert.ConverterString
converterMessageAn expression that specifies the converter messageType: java.lang.StringString
disabledFlag indicating that this element is disabled.Type: booleanDefault: falseString
fieldIdThe component identifier for the input field component inside of the container. This value must be unique within the closest parent component that is a naming container.Type: java.lang.StringString
focusFlag indicating this component should receive the focus.Type: booleanDefault: falseString
idThe component identifier for this component. This value must be unique within the closest parent component that is a naming container. For tx components the id will be set to the container (e. g. the panel). To set the id of the input field, you have to use the attribute "fieldId".Type: java.lang.StringString
labelText value to display as label. If text contains an underscore the next character is used as accesskey.Type: java.lang.StringString
labelWidthThe width for the label component. Default: 'auto'. This value is used in the gridLayouts columns attribute. See gridLayout tag for valid values.Type: java.lang.StringString
markupIndicate markup of this component. Possible value is 'none'. But this can be overridden in the theme.Type: java.lang.String[]Default: noneString
onchangeClientside script function to add to this component's onchange handler.Type: java.lang.StringString
readonlyFlag indicating that this component will prohibit changes by the user.Type: booleanDefault: falseString
renderedFlag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.Type: booleanDefault: trueString
requiredFlag indicating that a value is required. If the value is an empty string a ValidationError occurs and a Error Message is rendered.Type: booleanDefault: falseString
requiredMessageAn expression that specifies the required messageType: java.lang.StringString
selectedLabelText value to display as selected label.Type: java.lang.StringString
tabIndexType: java.lang.IntegerString
tipText value to display as tooltip.Type: java.lang.StringString
unselectedLabelText value to display as unselected label.Type: java.lang.StringString
validatorA method binding EL expression, accepting FacesContext, UIComponent, and Object parameters, and returning void, that validates the component's local value.String
validatorMessageAn expression that specifies the validator messageType: java.lang.StringString
valueThe current value of this component.Type: java.lang.ObjectString
valueChangeListenerMethodBinding representing a value change listener method that will be notified when a new value has been set for this input component. The expression must evaluate to a public method that takes a ValueChangeEvent parameter, with a return type of void.String

<tx:selectOneChoice>

Render a single selection dropdown list with a label.

Extended tag: org.apache.myfaces.tobago.internal.taglib.SelectOneChoiceTag

Can contain: JSP

Attributes

NameDescriptionType
bindingThe value binding expression linking this component to a property in a backing bean.Type: javax.faces.component.UIComponentString
converterAn expression that specifies the Converter for this component. If the value binding expression is a String, the String is used as an ID to look up a Converter. If the value binding expression is a Converter, uses that instance as the converter. The value can either be a static value (ID case only) or an EL expression.Type: javax.faces.convert.ConverterString
converterMessageAn expression that specifies the converter messageType: java.lang.StringString
disabledFlag indicating that this element is disabled.Type: booleanDefault: falseString
fieldIdThe component identifier for the input field component inside of the container. This value must be unique within the closest parent component that is a naming container.Type: java.lang.StringString
focusFlag indicating this component should receive the focus.Type: booleanDefault: falseString
idThe component identifier for this component. This value must be unique within the closest parent component that is a naming container. For tx components the id will be set to the container (e. g. the panel). To set the id of the input field, you have to use the attribute "fieldId".Type: java.lang.StringString
labelText value to display as label. If text contains an underscore the next character is used as accesskey.Type: java.lang.StringString
labelWidthThe width for the label component. Default: 'auto'. This value is used in the gridLayouts columns attribute. See gridLayout tag for valid values.Type: java.lang.StringString
markupIndicate markup of this component. Possible value is 'none'. But this can be overridden in the theme.Type: java.lang.String[]Default: noneString
onchangeClientside script function to add to this component's onchange handler.Type: java.lang.StringString
readonlyFlag indicating that this component will prohibit changes by the user.Type: booleanDefault: falseString
renderedFlag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.Type: booleanDefault: trueString
requiredFlag indicating that a value is required. If the value is an empty string a ValidationError occurs and a Error Message is rendered.Type: booleanDefault: falseString
requiredMessageAn expression that specifies the required messageType: java.lang.StringString
tabIndexType: java.lang.IntegerString
tipText value to display as tooltip.Type: java.lang.StringString
validatorA method binding EL expression, accepting FacesContext, UIComponent, and Object parameters, and returning void, that validates the component's local value.String
validatorMessageAn expression that specifies the validator messageType: java.lang.StringString
valueThe current value of this component.Type: java.lang.ObjectString
valueChangeListenerMethodBinding representing a value change listener method that will be notified when a new value has been set for this input component. The expression must evaluate to a public method that takes a ValueChangeEvent parameter, with a return type of void.String
inline

**** @deprecated. Will be removed in a future version ****

This should be handled by e.g. a flow layout manager (since 1.5.0)

Flag indicating this component should rendered as an inline element.Type: booleanDefault: false
String

<tx:selectOneListbox>

Render a single selection option listbox.

Extended tag: org.apache.myfaces.tobago.internal.taglib.SelectOneListboxTag

Can contain: JSP

Attributes

NameDescriptionType
bindingThe value binding expression linking this component to a property in a backing bean.Type: javax.faces.component.UIComponentString
converterAn expression that specifies the Converter for this component. If the value binding expression is a String, the String is used as an ID to look up a Converter. If the value binding expression is a Converter, uses that instance as the converter. The value can either be a static value (ID case only) or an EL expression.Type: javax.faces.convert.ConverterString
converterMessageAn expression that specifies the converter messageType: java.lang.StringString
disabledFlag indicating that this element is disabled.Type: booleanDefault: falseString
fieldIdThe component identifier for the input field component inside of the container. This value must be unique within the closest parent component that is a naming container.Type: java.lang.StringString
focusFlag indicating this component should receive the focus.Type: booleanDefault: falseString
idThe component identifier for this component. This value must be unique within the closest parent component that is a naming container. For tx components the id will be set to the container (e. g. the panel). To set the id of the input field, you have to use the attribute "fieldId".Type: java.lang.StringString
labelText value to display as label. If text contains an underscore the next character is used as accesskey.Type: java.lang.StringString
labelWidthThe width for the label component. Default: 'auto'. This value is used in the gridLayouts columns attribute. See gridLayout tag for valid values.Type: java.lang.StringString
markupIndicate markup of this component. Possible value is 'none'. But this can be overridden in the theme.Type: java.lang.String[]Default: noneString
onchangeClientside script function to add to this component's onchange handler.Type: java.lang.StringString
readonlyFlag indicating that this component will prohibit changes by the user.Type: booleanDefault: falseString
renderedFlag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.Type: booleanDefault: trueString
requiredFlag indicating that a value is required. If the value is an empty string a ValidationError occurs and a Error Message is rendered.Type: booleanDefault: falseString
requiredMessageAn expression that specifies the required messageType: java.lang.StringString
tabIndexType: java.lang.IntegerString
tipText value to display as tooltip.Type: java.lang.StringString
validatorA method binding EL expression, accepting FacesContext, UIComponent, and Object parameters, and returning void, that validates the component's local value.String
validatorMessageAn expression that specifies the validator messageType: java.lang.StringString
valueThe current value of this component.Type: java.lang.ObjectString
valueChangeListenerMethodBinding representing a value change listener method that will be notified when a new value has been set for this input component. The expression must evaluate to a public method that takes a ValueChangeEvent parameter, with a return type of void.String

<tx:selectOneRadio>

Render a set of radio buttons.

Extended tag: org.apache.myfaces.tobago.internal.taglib.SelectOneRadioTag

Can contain: JSP

Attributes

NameDescriptionType
bindingThe value binding expression linking this component to a property in a backing bean.Type: javax.faces.component.UIComponentString
converterAn expression that specifies the Converter for this component. If the value binding expression is a String, the String is used as an ID to look up a Converter. If the value binding expression is a Converter, uses that instance as the converter. The value can either be a static value (ID case only) or an EL expression.Type: javax.faces.convert.ConverterString
converterMessageAn expression that specifies the converter messageType: java.lang.StringString
disabledFlag indicating that this element is disabled.Type: booleanDefault: falseString
fieldIdThe component identifier for the input field component inside of the container. This value must be unique within the closest parent component that is a naming container.Type: java.lang.StringString
focusFlag indicating this component should receive the focus.Type: booleanDefault: falseString
idThe component identifier for this component. This value must be unique within the closest parent component that is a naming container. For tx components the id will be set to the container (e. g. the panel). To set the id of the input field, you have to use the attribute "fieldId".Type: java.lang.StringString
inlineFlag indicating this component should rendered as an inline element.Type: booleanDefault: falseString
labelText value to display as label. If text contains an underscore the next character is used as accesskey.Type: java.lang.StringString
labelWidthThe width for the label component. Default: 'auto'. This value is used in the gridLayouts columns attribute. See gridLayout tag for valid values.Type: java.lang.StringString
markupIndicate markup of this component. Possible value is 'none'. But this can be overridden in the theme.Type: java.lang.String[]Default: noneString
onchangeClientside script function to add to this component's onchange handler.Type: java.lang.StringString
readonlyFlag indicating that this component will prohibit changes by the user.Type: booleanDefault: falseString
renderRangeRange of items to render.Type: java.lang.StringString
renderedFlag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.Type: booleanDefault: trueString
requiredFlag indicating that a value is required. If the value is an empty string a ValidationError occurs and a Error Message is rendered.Type: booleanDefault: falseString
requiredMessageAn expression that specifies the required messageType: java.lang.StringString
tabIndexType: java.lang.IntegerString
tipText value to display as tooltip.Type: java.lang.StringString
validatorA method binding EL expression, accepting FacesContext, UIComponent, and Object parameters, and returning void, that validates the component's local value.String
validatorMessageAn expression that specifies the validator messageType: java.lang.StringString
valueThe current value of this component.Type: java.lang.ObjectString
valueChangeListenerMethodBinding representing a value change listener method that will be notified when a new value has been set for this input component. The expression must evaluate to a public method that takes a ValueChangeEvent parameter, with a return type of void.String

<tx:textarea>

Renders a multi line text input control with a label. Short syntax of:

 <tc:panel>
   <f:facet name="layout">
     <tc:gridLayout columns="auto;*"/>
   </f:facet>
   <tc:label value="#{label}" for="@auto"/>
   <tc:textarea value="#{value}">
     ...
   </tc:in>
 </tc:panel>
 

Extended tag: org.apache.myfaces.tobago.internal.taglib.TextareaTag

Can contain: JSP

Attributes

NameDescriptionType
bindingThe value binding expression linking this component to a property in a backing bean.Type: javax.faces.component.UIComponentString
converterAn expression that specifies the Converter for this component. If the value binding expression is a String, the String is used as an ID to look up a Converter. If the value binding expression is a Converter, uses that instance as the converter. The value can either be a static value (ID case only) or an EL expression.Type: javax.faces.convert.ConverterString
converterMessageAn expression that specifies the converter messageType: java.lang.StringString
disabledFlag indicating that this element is disabled.Type: booleanDefault: falseString
fieldIdThe component identifier for the input field component inside of the container. This value must be unique within the closest parent component that is a naming container.Type: java.lang.StringString
focusFlag indicating this component should receive the focus.Type: booleanDefault: falseString
idThe component identifier for this component. This value must be unique within the closest parent component that is a naming container. For tx components the id will be set to the container (e. g. the panel). To set the id of the input field, you have to use the attribute "fieldId".Type: java.lang.StringString
labelText value to display as label. If text contains an underscore the next character is used as accesskey.Type: java.lang.StringString
labelWidthThe width for the label component. Default: 'auto'. This value is used in the gridLayouts columns attribute. See gridLayout tag for valid values.Type: java.lang.StringString
markupIndicate markup of this component. Possible value is 'none'. But this can be overridden in the theme.Type: java.lang.String[]Default: noneString
onchangeClientside script function to add to this component's onchange handler.Type: java.lang.StringString
readonlyFlag indicating that this component will prohibit changes by the user.Type: booleanDefault: falseString
renderedFlag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.Type: booleanDefault: trueString
requiredFlag indicating that a value is required. If the value is an empty string a ValidationError occurs and a Error Message is rendered.Type: booleanDefault: falseString
requiredMessageAn expression that specifies the required messageType: java.lang.StringString
tabIndexType: java.lang.IntegerString
tipText value to display as tooltip.Type: java.lang.StringString
validatorA method binding EL expression, accepting FacesContext, UIComponent, and Object parameters, and returning void, that validates the component's local value.String
validatorMessageAn expression that specifies the validator messageType: java.lang.StringString
valueThe current value of this component.Type: java.lang.ObjectString
valueChangeListenerMethodBinding representing a value change listener method that will be notified when a new value has been set for this input component. The expression must evaluate to a public method that takes a ValueChangeEvent parameter, with a return type of void.String

<tx:time>

Renders a time input field with a label. Short syntax of:

 <tc:panel>
   <f:facet name="layout">
     <tc:gridLayout columns="auto;*"/>
   </f:facet>
   <tc:label value="#{label}" for="@auto"/>
   <tc:time value="#{value}">
     ...
   </tc:in>
 </tc:panel>
 

Extended tag: org.apache.myfaces.tobago.internal.taglib.TimeTag

Can contain: JSP

Attributes

NameDescriptionType
bindingThe value binding expression linking this component to a property in a backing bean.Type: javax.faces.component.UIComponentString
converterAn expression that specifies the Converter for this component. If the value binding expression is a String, the String is used as an ID to look up a Converter. If the value binding expression is a Converter, uses that instance as the converter. The value can either be a static value (ID case only) or an EL expression.Type: javax.faces.convert.ConverterString
converterMessageAn expression that specifies the converter messageType: java.lang.StringString
disabledFlag indicating that this element is disabled.Type: booleanDefault: falseString
fieldIdThe component identifier for the input field component inside of the container. This value must be unique within the closest parent component that is a naming container.Type: java.lang.StringString
focusFlag indicating this component should receive the focus.Type: booleanDefault: falseString
idThe component identifier for this component. This value must be unique within the closest parent component that is a naming container. For tx components the id will be set to the container (e. g. the panel). To set the id of the input field, you have to use the attribute "fieldId".Type: java.lang.StringString
labelText value to display as label. If text contains an underscore the next character is used as accesskey.Type: java.lang.StringString
labelWidthThe width for the label component. Default: 'auto'. This value is used in the gridLayouts columns attribute. See gridLayout tag for valid values.Type: java.lang.StringString
markupIndicate markup of this component. Possible value is 'none'. But this can be overridden in the theme.Type: java.lang.String[]Default: noneString
onchangeClientside script function to add to this component's onchange handler.Type: java.lang.StringString
readonlyFlag indicating that this component will prohibit changes by the user.Type: booleanDefault: falseString
renderedFlag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.Type: booleanDefault: trueString
requiredFlag indicating that a value is required. If the value is an empty string a ValidationError occurs and a Error Message is rendered.Type: booleanDefault: falseString
requiredMessageAn expression that specifies the required messageType: java.lang.StringString
tabIndexType: java.lang.IntegerString
tipText value to display as tooltip.Type: java.lang.StringString
validatorA method binding EL expression, accepting FacesContext, UIComponent, and Object parameters, and returning void, that validates the component's local value.String
validatorMessageAn expression that specifies the validator messageType: java.lang.StringString
valueThe current value of this component.Type: java.lang.ObjectString
valueChangeListenerMethodBinding representing a value change listener method that will be notified when a new value has been set for this input component. The expression must evaluate to a public method that takes a ValueChangeEvent parameter, with a return type of void.String
inline

**** @deprecated. Will be removed in a future version ****

This should be handled by e.g. a flow layout manager (since 1.5.0)

Flag indicating this component should rendered as an inline element.Type: booleanDefault: false
String