Based upon HTML5 input tag, there are a lot of variations that are available for components. Because of consistency across browsers and devices a subset of these variations is supported. This component is styled for each supported device with the <mobi:deviceStylesheet/> component and has <mobi:ajax /> support
Each device will popup the correct keyboard for the "type". Jsf validation and conversion is supported.
Straight text field
title="basic text input"/>
Using single submit
title="number from popup number menu"/>
Each type will have it's own set of attributes which will be passed through the renderer and applied to the browser to render using HTML5 markup encoding. Since the password and text example both are type='text" they will have the same list of attributes. The textarea has it's own set and their exists a common subset of attributes at this time. As more "types" are implemented, they will each have their own unique set of attributes and share these common ones. The jsf support comes in the ability to use jsf validation and conversion. ICEfaces then allows the ability to submit the field via ajax (singleSubmit) or the traditional (whole form) approach.
type for now just "text", "number", "password" and "textarea" are supported as of this release. "text" is default.
placeholder rather than using tooltips, the placeholder will display directly in the input field allowing developers to give hints as to what the user can use as entries
singleSubmit if true, submits itself (element) and triggers a full page response using the ICEfaces dom-diff algorithm (in other words, only what has changed on the view page). If false, then the field is not submitted until the form is.
tabindex standard jsf support
maxlength maximum length to display the field
For type="text" only
autocomplete not implemented in html5 yet on most browsers so not that useful
pattern at this point, will actually see the pattern in display as placeholder in some browsers
For type="textarea" only
cols number of columns for textarea for initial render
rows number of rows for textarea
wrap wrap the text if get to end of textarea
TagLib Documentation This section covers attributes involved in the typical use-cases for this component. For reference, the complete taglib documentation for this component is available here.