Tag reference sheet
Tag library reference for the following tag libraries:
- Tobago Extensions 1.5.x (tobago-extension.tld) - uri: http://myfaces.apache.org/tobago/extension
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.
- date Renders a date input field with a date picker and a label
- file Renders a file input field with a label
- in Renders a text input field with a label
- label Renders a label to any component
- menuCheckbox Renders a menu item like a check box
- menuRadio Renders menu items like radio buttons (select one)
- selectBooleanCheckbox Renders a checkbox
- selectManyCheckbox Render a group of checkboxes
- selectManyListbox Renders a multi selection option listbox with a label
- selectManyShuttle Renders a multi selection option shuttle with a label
- selectOneChoice Render a single selection dropdown list with a label
- selectOneListbox Render a single selection option listbox
- selectOneRadio Render a set of radio buttons
- textarea Renders a multi line text input control with a label
- time Renders a time input field with a label
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
Name | Description | Type |
---|---|---|
binding | The value binding expression linking this component to a property in a backing bean.Type: javax.faces.component.UIComponent | String |
converter | An 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.Converter | String |
converterMessage | An expression that specifies the converter messageType: java.lang.String | String |
disabled | Flag indicating that this element is disabled.Type: booleanDefault: false | String |
fieldId | The 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.String | String |
focus | Flag indicating this component should receive the focus.Type: booleanDefault: false | String |
formId | The 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.String | String |
id | The 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.String | String |
label | Text value to display as label. If text contains an underscore the next character is used as accesskey.Type: java.lang.String | String |
labelWidth | The 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.String | String |
markup | Indicate markup of this component. Possible value is 'none'. But this can be overridden in the theme.Type: java.lang.String[]Default: none | String |
onchange | Clientside script function to add to this component's onchange handler.Type: java.lang.String | String |
pickerId | The 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.String | String |
readonly | Flag indicating that this component will prohibit changes by the user.Type: booleanDefault: false | String |
rendered | Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.Type: booleanDefault: true | String |
required | Flag indicating that a value is required. If the value is an empty string a ValidationError occurs and a Error Message is rendered.Type: booleanDefault: false | String |
requiredMessage | An expression that specifies the required messageType: java.lang.String | String |
tabIndex | Type: java.lang.Integer | String |
tip | Text value to display as tooltip.Type: java.lang.String | String |
validator | A method binding EL expression, accepting FacesContext, UIComponent, and Object parameters, and returning void, that validates the component's local value. | String |
validatorMessage | An expression that specifies the validator messageType: java.lang.String | String |
value | The current value of this component.Type: java.lang.Object | String |
valueChangeListener | MethodBinding 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
Name | Description | Type |
---|---|---|
binding | The value binding expression linking this component to a property in a backing bean.Type: javax.faces.component.UIComponent | String |
converterMessage | An expression that specifies the converter messageType: java.lang.String | String |
disabled | Flag indicating that this element is disabled.Type: booleanDefault: false | String |
fieldId | The 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.String | String |
focus | Flag indicating this component should receive the focus.Type: booleanDefault: false | String |
id | The 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.String | String |
label | Text value to display as label. If text contains an underscore the next character is used as accesskey.Type: java.lang.String | String |
labelWidth | The 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.String | String |
onchange | Clientside script function to add to this component's onchange handler.Type: java.lang.String | String |
rendered | Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.Type: booleanDefault: true | String |
required | Flag indicating that a value is required. If the value is an empty string a ValidationError occurs and a Error Message is rendered.Type: booleanDefault: false | String |
requiredMessage | An expression that specifies the required messageType: java.lang.String | String |
tabIndex | Type: java.lang.Integer | String |
tip | Text value to display as tooltip.Type: java.lang.String | String |
validator | A method binding EL expression, accepting FacesContext, UIComponent, and Object parameters, and returning void, that validates the component's local value. | String |
validatorMessage | An expression that specifies the validator messageType: java.lang.String | String |
value | The current value of this component.Type: java.lang.Object | String |
valueChangeListener | MethodBinding 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
Name | Description | Type |
---|---|---|
binding | The value binding expression linking this component to a property in a backing bean.Type: javax.faces.component.UIComponent | String |
converter | An 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.Converter | String |
converterMessage | An expression that specifies the converter messageType: java.lang.String | String |
disabled | Flag indicating that this element is disabled.Type: booleanDefault: false | String |
fieldId | The 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.String | String |
focus | Flag indicating this component should receive the focus.Type: booleanDefault: false | String |
id | The 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.String | String |
label | Text value to display as label. If text contains an underscore the next character is used as accesskey.Type: java.lang.String | String |
labelWidth | The 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.String | String |
markup | Indicate markup of this component. Possible value is 'none'. But this can be overridden in the theme.Type: java.lang.String[]Default: none | String |
onchange | Clientside script function to add to this component's onchange handler.Type: java.lang.String | String |
password | Flag indicating whether or not this component should be rendered as password field , so you will not see the typed charakters.Type: booleanDefault: false | String |
readonly | Flag indicating that this component will prohibit changes by the user.Type: booleanDefault: false | String |
rendered | Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.Type: booleanDefault: true | String |
required | Flag indicating that a value is required. If the value is an empty string a ValidationError occurs and a Error Message is rendered.Type: booleanDefault: false | String |
requiredMessage | An expression that specifies the required messageType: java.lang.String | String |
suggestMethod | null | String |
tabIndex | Type: java.lang.Integer | String |
tip | Text value to display as tooltip.Type: java.lang.String | String |
validator | A method binding EL expression, accepting FacesContext, UIComponent, and Object parameters, and returning void, that validates the component's local value. | String |
validatorMessage | An expression that specifies the validator messageType: java.lang.String | String |
value | The current value of this component.Type: java.lang.Object | String |
valueChangeListener | MethodBinding 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>
<tx:label> <tc:in/> </tx:label>
<tx:in/>
Extended tag: org.apache.myfaces.tobago.internal.taglib.LabelTag
Can contain: JSP
Attributes
Name | Description | Type |
---|---|---|
labelWidth | The 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.String | String |
markup | Indicate markup of this component. Possible value is 'none'. But this can be overridden in the theme.Type: java.lang.String[]Default: none | String |
rendered | Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.Type: booleanDefault: true | String |
tip | Text value to display as tooltip.Type: java.lang.String | String |
value | The current value of this component.Type: java.lang.Object | String |
<tx:menuCheckbox>
Renders a menu item like a check box.<tx:menuCheckbox/>
<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
Name | Description | Type |
---|---|---|
action | Action 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 |
actionListener | MethodBinding 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 |
binding | The value binding expression linking this component to a property in a backing bean.Type: javax.faces.component.UIComponent | String |
disabled | Flag indicating that this element is disabled.Type: booleanDefault: false | String |
fieldId | The 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.String | String |
id | The 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.String | String |
immediate | Flag 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: false | String |
label | Text value to display as label. If text contains an underscore the next character is used as accesskey.Type: java.lang.String | String |
link | Link to an arbitrary URLType: java.lang.String | String |
onclick | Script to be invoked when clickedType: java.lang.String | String |
rendered | Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.Type: booleanDefault: true | String |
renderedPartially | Indicate the partially rendered Components in a case of a submit.Type: java.lang.String[] | String |
transition | Specify, if the command calls an JSF-Action. Useful to switch off the Double-Submit-Check and Waiting-Behavior.Type: booleanDefault: true | String |
value | The current value of this component.Type: java.lang.Object | String |
<tx:menuRadio>
Renders menu items like radio buttons (select one).<tx:menuRadio> <tc:selectItems/> <!-- body --> </tx:menuRadio>
<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
Name | Description | Type |
---|---|---|
action | Action 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 |
actionListener | MethodBinding 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 |
binding | The value binding expression linking this component to a property in a backing bean.Type: javax.faces.component.UIComponent | String |
converter | An 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.Converter | String |
disabled | Flag indicating that this element is disabled.Type: booleanDefault: false | String |
fieldId | The 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.String | String |
id | The 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.String | String |
immediate | Flag 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: false | String |
label | Text value to display as label. If text contains an underscore the next character is used as accesskey.Type: java.lang.String | String |
link | Link to an arbitrary URLType: java.lang.String | String |
onclick | Script to be invoked when clickedType: java.lang.String | String |
rendered | Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.Type: booleanDefault: true | String |
renderedPartially | Indicate the partially rendered Components in a case of a submit.Type: java.lang.String[] | String |
transition | Specify, if the command calls an JSF-Action. Useful to switch off the Double-Submit-Check and Waiting-Behavior.Type: booleanDefault: true | String |
value | The current value of this component.Type: java.lang.Object | String |
<tx:selectBooleanCheckbox>
Renders a checkbox.Extended tag: org.apache.myfaces.tobago.internal.taglib.SelectBooleanCheckboxTag
Can contain: JSP
Attributes
Name | Description | Type |
---|---|---|
binding | The value binding expression linking this component to a property in a backing bean.Type: javax.faces.component.UIComponent | String |
converter | An 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.Converter | String |
converterMessage | An expression that specifies the converter messageType: java.lang.String | String |
disabled | Flag indicating that this element is disabled.Type: booleanDefault: false | String |
fieldId | The 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.String | String |
focus | Flag indicating this component should receive the focus.Type: booleanDefault: false | String |
id | The 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.String | String |
itemLabel | Label 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.String | String |
label | Text value to display as label. If text contains an underscore the next character is used as accesskey.Type: java.lang.String | String |
labelWidth | The 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.String | String |
markup | Indicate markup of this component. Possible value is 'none'. But this can be overridden in the theme.Type: java.lang.String[]Default: none | String |
onchange | Clientside script function to add to this component's onchange handler.Type: java.lang.String | String |
readonly | Flag indicating that this component will prohibit changes by the user.Type: booleanDefault: false | String |
rendered | Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.Type: booleanDefault: true | String |
required | Flag indicating that a value is required. If the value is an empty string a ValidationError occurs and a Error Message is rendered.Type: booleanDefault: false | String |
requiredMessage | An expression that specifies the required messageType: java.lang.String | String |
tabIndex | Type: java.lang.Integer | String |
tip | Text value to display as tooltip.Type: java.lang.String | String |
validator | A method binding EL expression, accepting FacesContext, UIComponent, and Object parameters, and returning void, that validates the component's local value. | String |
validatorMessage | An expression that specifies the validator messageType: java.lang.String | String |
value | The current value of this component.Type: java.lang.Boolean | String |
valueChangeListener | MethodBinding 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
Name | Description | Type |
---|---|---|
binding | The value binding expression linking this component to a property in a backing bean.Type: javax.faces.component.UIComponent | String |
converter | An 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.Converter | String |
converterMessage | An expression that specifies the converter messageType: java.lang.String | String |
disabled | Flag indicating that this element is disabled.Type: booleanDefault: false | String |
fieldId | The 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.String | String |
focus | Flag indicating this component should receive the focus.Type: booleanDefault: false | String |
id | The 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.String | String |
inline | Flag indicating this component should rendered as an inline element.Type: booleanDefault: false | String |
label | Text value to display as label. If text contains an underscore the next character is used as accesskey.Type: java.lang.String | String |
labelWidth | The 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.String | String |
markup | Indicate markup of this component. Possible value is 'none'. But this can be overridden in the theme.Type: java.lang.String[]Default: none | String |
onchange | Clientside script function to add to this component's onchange handler.Type: java.lang.String | String |
readonly | Flag indicating that this component will prohibit changes by the user.Type: booleanDefault: false | String |
renderRange | Range of items to render.Type: java.lang.String | String |
rendered | Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.Type: booleanDefault: true | String |
required | Flag indicating that a value is required. If the value is an empty string a ValidationError occurs and a Error Message is rendered.Type: booleanDefault: false | String |
requiredMessage | An expression that specifies the required messageType: java.lang.String | String |
tabIndex | Type: java.lang.Integer | String |
tip | Text value to display as tooltip.Type: java.lang.String | String |
validator | A method binding EL expression, accepting FacesContext, UIComponent, and Object parameters, and returning void, that validates the component's local value. | String |
validatorMessage | An expression that specifies the validator messageType: java.lang.String | String |
value | The current value of this component.Type: java.lang.Object | String |
valueChangeListener | MethodBinding 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
Name | Description | Type |
---|---|---|
binding | The value binding expression linking this component to a property in a backing bean.Type: javax.faces.component.UIComponent | String |
converter | An 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.Converter | String |
converterMessage | An expression that specifies the converter messageType: java.lang.String | String |
disabled | Flag indicating that this element is disabled.Type: booleanDefault: false | String |
fieldId | The 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.String | String |
focus | Flag indicating this component should receive the focus.Type: booleanDefault: false | String |
id | The 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.String | String |
label | Text value to display as label. If text contains an underscore the next character is used as accesskey.Type: java.lang.String | String |
labelWidth | The 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.String | String |
markup | Indicate markup of this component. Possible value is 'none'. But this can be overridden in the theme.Type: java.lang.String[]Default: none | String |
onchange | Clientside script function to add to this component's onchange handler.Type: java.lang.String | String |
readonly | Flag indicating that this component will prohibit changes by the user.Type: booleanDefault: false | String |
rendered | Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.Type: booleanDefault: true | String |
required | Flag indicating that a value is required. If the value is an empty string a ValidationError occurs and a Error Message is rendered.Type: booleanDefault: false | String |
requiredMessage | An expression that specifies the required messageType: java.lang.String | String |
tabIndex | Type: java.lang.Integer | String |
tip | Text value to display as tooltip.Type: java.lang.String | String |
validator | A method binding EL expression, accepting FacesContext, UIComponent, and Object parameters, and returning void, that validates the component's local value. | String |
validatorMessage | An expression that specifies the validator messageType: java.lang.String | String |
value | The current value of this component.Type: java.lang.Object | String |
valueChangeListener | MethodBinding 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
Name | Description | Type |
---|---|---|
binding | The value binding expression linking this component to a property in a backing bean.Type: javax.faces.component.UIComponent | String |
converter | An 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.Converter | String |
converterMessage | An expression that specifies the converter messageType: java.lang.String | String |
disabled | Flag indicating that this element is disabled.Type: booleanDefault: false | String |
fieldId | The 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.String | String |
focus | Flag indicating this component should receive the focus.Type: booleanDefault: false | String |
id | The 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.String | String |
label | Text value to display as label. If text contains an underscore the next character is used as accesskey.Type: java.lang.String | String |
labelWidth | The 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.String | String |
markup | Indicate markup of this component. Possible value is 'none'. But this can be overridden in the theme.Type: java.lang.String[]Default: none | String |
onchange | Clientside script function to add to this component's onchange handler.Type: java.lang.String | String |
readonly | Flag indicating that this component will prohibit changes by the user.Type: booleanDefault: false | String |
rendered | Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.Type: booleanDefault: true | String |
required | Flag indicating that a value is required. If the value is an empty string a ValidationError occurs and a Error Message is rendered.Type: booleanDefault: false | String |
requiredMessage | An expression that specifies the required messageType: java.lang.String | String |
selectedLabel | Text value to display as selected label.Type: java.lang.String | String |
tabIndex | Type: java.lang.Integer | String |
tip | Text value to display as tooltip.Type: java.lang.String | String |
unselectedLabel | Text value to display as unselected label.Type: java.lang.String | String |
validator | A method binding EL expression, accepting FacesContext, UIComponent, and Object parameters, and returning void, that validates the component's local value. | String |
validatorMessage | An expression that specifies the validator messageType: java.lang.String | String |
value | The current value of this component.Type: java.lang.Object | String |
valueChangeListener | MethodBinding 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
Name | Description | Type |
---|---|---|
binding | The value binding expression linking this component to a property in a backing bean.Type: javax.faces.component.UIComponent | String |
converter | An 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.Converter | String |
converterMessage | An expression that specifies the converter messageType: java.lang.String | String |
disabled | Flag indicating that this element is disabled.Type: booleanDefault: false | String |
fieldId | The 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.String | String |
focus | Flag indicating this component should receive the focus.Type: booleanDefault: false | String |
id | The 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.String | String |
label | Text value to display as label. If text contains an underscore the next character is used as accesskey.Type: java.lang.String | String |
labelWidth | The 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.String | String |
markup | Indicate markup of this component. Possible value is 'none'. But this can be overridden in the theme.Type: java.lang.String[]Default: none | String |
onchange | Clientside script function to add to this component's onchange handler.Type: java.lang.String | String |
readonly | Flag indicating that this component will prohibit changes by the user.Type: booleanDefault: false | String |
rendered | Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.Type: booleanDefault: true | String |
required | Flag indicating that a value is required. If the value is an empty string a ValidationError occurs and a Error Message is rendered.Type: booleanDefault: false | String |
requiredMessage | An expression that specifies the required messageType: java.lang.String | String |
tabIndex | Type: java.lang.Integer | String |
tip | Text value to display as tooltip.Type: java.lang.String | String |
validator | A method binding EL expression, accepting FacesContext, UIComponent, and Object parameters, and returning void, that validates the component's local value. | String |
validatorMessage | An expression that specifies the validator messageType: java.lang.String | String |
value | The current value of this component.Type: java.lang.Object | String |
valueChangeListener | MethodBinding 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
Name | Description | Type |
---|---|---|
binding | The value binding expression linking this component to a property in a backing bean.Type: javax.faces.component.UIComponent | String |
converter | An 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.Converter | String |
converterMessage | An expression that specifies the converter messageType: java.lang.String | String |
disabled | Flag indicating that this element is disabled.Type: booleanDefault: false | String |
fieldId | The 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.String | String |
focus | Flag indicating this component should receive the focus.Type: booleanDefault: false | String |
id | The 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.String | String |
label | Text value to display as label. If text contains an underscore the next character is used as accesskey.Type: java.lang.String | String |
labelWidth | The 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.String | String |
markup | Indicate markup of this component. Possible value is 'none'. But this can be overridden in the theme.Type: java.lang.String[]Default: none | String |
onchange | Clientside script function to add to this component's onchange handler.Type: java.lang.String | String |
readonly | Flag indicating that this component will prohibit changes by the user.Type: booleanDefault: false | String |
rendered | Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.Type: booleanDefault: true | String |
required | Flag indicating that a value is required. If the value is an empty string a ValidationError occurs and a Error Message is rendered.Type: booleanDefault: false | String |
requiredMessage | An expression that specifies the required messageType: java.lang.String | String |
tabIndex | Type: java.lang.Integer | String |
tip | Text value to display as tooltip.Type: java.lang.String | String |
validator | A method binding EL expression, accepting FacesContext, UIComponent, and Object parameters, and returning void, that validates the component's local value. | String |
validatorMessage | An expression that specifies the validator messageType: java.lang.String | String |
value | The current value of this component.Type: java.lang.Object | String |
valueChangeListener | MethodBinding 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
Name | Description | Type |
---|---|---|
binding | The value binding expression linking this component to a property in a backing bean.Type: javax.faces.component.UIComponent | String |
converter | An 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.Converter | String |
converterMessage | An expression that specifies the converter messageType: java.lang.String | String |
disabled | Flag indicating that this element is disabled.Type: booleanDefault: false | String |
fieldId | The 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.String | String |
focus | Flag indicating this component should receive the focus.Type: booleanDefault: false | String |
id | The 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.String | String |
inline | Flag indicating this component should rendered as an inline element.Type: booleanDefault: false | String |
label | Text value to display as label. If text contains an underscore the next character is used as accesskey.Type: java.lang.String | String |
labelWidth | The 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.String | String |
markup | Indicate markup of this component. Possible value is 'none'. But this can be overridden in the theme.Type: java.lang.String[]Default: none | String |
onchange | Clientside script function to add to this component's onchange handler.Type: java.lang.String | String |
readonly | Flag indicating that this component will prohibit changes by the user.Type: booleanDefault: false | String |
renderRange | Range of items to render.Type: java.lang.String | String |
rendered | Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.Type: booleanDefault: true | String |
required | Flag indicating that a value is required. If the value is an empty string a ValidationError occurs and a Error Message is rendered.Type: booleanDefault: false | String |
requiredMessage | An expression that specifies the required messageType: java.lang.String | String |
tabIndex | Type: java.lang.Integer | String |
tip | Text value to display as tooltip.Type: java.lang.String | String |
validator | A method binding EL expression, accepting FacesContext, UIComponent, and Object parameters, and returning void, that validates the component's local value. | String |
validatorMessage | An expression that specifies the validator messageType: java.lang.String | String |
value | The current value of this component.Type: java.lang.Object | String |
valueChangeListener | MethodBinding 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
Name | Description | Type |
---|---|---|
binding | The value binding expression linking this component to a property in a backing bean.Type: javax.faces.component.UIComponent | String |
converter | An 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.Converter | String |
converterMessage | An expression that specifies the converter messageType: java.lang.String | String |
disabled | Flag indicating that this element is disabled.Type: booleanDefault: false | String |
fieldId | The 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.String | String |
focus | Flag indicating this component should receive the focus.Type: booleanDefault: false | String |
id | The 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.String | String |
label | Text value to display as label. If text contains an underscore the next character is used as accesskey.Type: java.lang.String | String |
labelWidth | The 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.String | String |
markup | Indicate markup of this component. Possible value is 'none'. But this can be overridden in the theme.Type: java.lang.String[]Default: none | String |
onchange | Clientside script function to add to this component's onchange handler.Type: java.lang.String | String |
readonly | Flag indicating that this component will prohibit changes by the user.Type: booleanDefault: false | String |
rendered | Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.Type: booleanDefault: true | String |
required | Flag indicating that a value is required. If the value is an empty string a ValidationError occurs and a Error Message is rendered.Type: booleanDefault: false | String |
requiredMessage | An expression that specifies the required messageType: java.lang.String | String |
tabIndex | Type: java.lang.Integer | String |
tip | Text value to display as tooltip.Type: java.lang.String | String |
validator | A method binding EL expression, accepting FacesContext, UIComponent, and Object parameters, and returning void, that validates the component's local value. | String |
validatorMessage | An expression that specifies the validator messageType: java.lang.String | String |
value | The current value of this component.Type: java.lang.Object | String |
valueChangeListener | MethodBinding 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
Name | Description | Type |
---|---|---|
binding | The value binding expression linking this component to a property in a backing bean.Type: javax.faces.component.UIComponent | String |
converter | An 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.Converter | String |
converterMessage | An expression that specifies the converter messageType: java.lang.String | String |
disabled | Flag indicating that this element is disabled.Type: booleanDefault: false | String |
fieldId | The 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.String | String |
focus | Flag indicating this component should receive the focus.Type: booleanDefault: false | String |
id | The 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.String | String |
label | Text value to display as label. If text contains an underscore the next character is used as accesskey.Type: java.lang.String | String |
labelWidth | The 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.String | String |
markup | Indicate markup of this component. Possible value is 'none'. But this can be overridden in the theme.Type: java.lang.String[]Default: none | String |
onchange | Clientside script function to add to this component's onchange handler.Type: java.lang.String | String |
readonly | Flag indicating that this component will prohibit changes by the user.Type: booleanDefault: false | String |
rendered | Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.Type: booleanDefault: true | String |
required | Flag indicating that a value is required. If the value is an empty string a ValidationError occurs and a Error Message is rendered.Type: booleanDefault: false | String |
requiredMessage | An expression that specifies the required messageType: java.lang.String | String |
tabIndex | Type: java.lang.Integer | String |
tip | Text value to display as tooltip.Type: java.lang.String | String |
validator | A method binding EL expression, accepting FacesContext, UIComponent, and Object parameters, and returning void, that validates the component's local value. | String |
validatorMessage | An expression that specifies the validator messageType: java.lang.String | String |
value | The current value of this component.Type: java.lang.Object | String |
valueChangeListener | MethodBinding 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 |