Tobago Components 1.5.x
Tag in


Renders a text input field.

UIComponentClass: org.apache.myfaces.tobago.component.UIIn

RendererType: In

Supported facets:

change
This facet can contain a UICommand that is invoked in a case of a change event from the component


Tag Information
Tag Classorg.apache.myfaces.tobago.internal.taglib.InTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
idfalsetruejava.lang.StringThe component identifier for this component. This value must be unique within the closest parent component that is a naming container.
Type: java.lang.String
bindingfalsefalsejavax.el.ValueExpression
(must evaluate to javax.faces.component.UIComponent)
The value binding expression linking this component to a property in a backing bean.

Warning: For the tobago extension library tx the binding differs from JSP and Facelets:

  • JSP: The component is the inner main control (e. g. UIInput).
  • Facelets: The component is the outer UIPanel.

Type: javax.faces.component.UIComponent
renderedfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.
Type: boolean
Default: true
converterfalsefalsejavax.el.ValueExpression
(must evaluate to javax.faces.convert.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
readonlyfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
Flag indicating that this component will prohibit changes by the user.
Type: boolean
Default: false
disabledfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
Flag indicating that this element is disabled.
Type: boolean
Default: false
requiredfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
Flag indicating that a value is required. If the value is an empty string a ValidationError occurs and a Error Message is rendered.
Type: boolean
Default: false
tipfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Text value to display as tooltip.
Type: java.lang.String
passwordfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
Flag indicating whether or not this component should be rendered as password field , so you will not see the typed charakters.
Type: boolean
Default: false
suggestMethodfalsefalsejavax.el.MethodExpression
(signature must match java.lang.Object suggestMethod(javax.faces.component.UIInput))
MethodBinding which generates a list of suggested input values based on the currently entered text, which could be retrieved via getSubmittedValue() on the UIInput. The expression has to evaluate to a public method which has a javax.faces.component.UIInput parameter and returns a List<String>(deprecated), a List<org.apache.myfaces.tobago.model.AutoSuggestItem> or a org.apache.myfaces.tobago.model.AutoSuggestItems.
markupfalsefalsejavax.el.ValueExpression
(must evaluate to org.apache.myfaces.tobago.context.Markup)
Indicate markup of this component. The allowed markups can be defined or overridden in the theme. The value 'none' should not be used any longer. Just leave the attribute empty, or use a NULL pointer.
Type: org.apache.myfaces.tobago.context.Markup
validatorfalsefalsejavax.el.MethodExpression
(signature must match void validator(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object))
A method binding EL expression, accepting FacesContext, UIComponent, and Object parameters, and returning void, that validates the component's local value.
onchangefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Clientside script function to add to this component's onchange handler.
Type: java.lang.String
valuefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
The current value of this component.
Type: java.lang.Object
valueChangeListenerfalsefalsejavax.el.MethodExpression
(signature must match void valueChangeListener(javax.faces.event.ValueChangeEvent))
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.
validatorMessagefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
An expression that specifies the validator message
Type: java.lang.String
converterMessagefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
An expression that specifies the converter message
Type: java.lang.String
requiredMessagefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
An expression that specifies the required message
Type: java.lang.String
tabIndexfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Integer)
Controls the navigation of the focus through the input controls on a page with the Tab-Key. The navigation starts from the element with the lowest tabIndex value to the element with the highest value. Elements that have identical tabIndex values should be navigated in the order they appear in the character stream Elements that are disabled or with a negative tabIndex do not participate in the tabbing order.
Type: java.lang.Integer
focusfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
Flag indicating this component should receive the focus.
Type: boolean
Default: false
labelfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A localized user presentable name for this component.
Type: java.lang.String
inlinefalsefalsejavax.el.ValueExpression
(must evaluate to boolean)

**** @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: boolean
Default: false
autocompletefalsefalsejavax.el.ValueExpression
(must evaluate to boolean)

Type: boolean
Default: true

Variables
No Variables Defined.


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