The available input tags are:
Components that are initially hidden on the palette are denoted by an asterisk (*) next to their name in the tables.
Component | Tag Name | Description |
---|---|---|
Input | <h:inputText> | Creates a single-line input control used to input text
or formatted text such as a number, date, time, or formatted string. The control
can be augmented with various kinds of input assist components including keystroke
management, typeahead support and helper buttons. Refer to Adding
Input components to a Faces JSP file for more information on input
components. You can create an input field for the following types of data:
|
Input - Text Area | <h:inputTextarea> | Creates a multi-line input control used to input lengthy unformatted text. |
Input - Rich Text Area | <r:inputRichText> | Inserts a rich text editor component. Like the Input - Text Area component, this component can have text on multiple lines. Unlike the Input Text Area, this component can contain different fonts and sizes, tables, links, and numbered and unordered lists. |
Helper-DatePicker | <hx:inputHelperDatePicker> | Adds a date picker helper button to an inputText field. Clicking the helper button displays a pop-up containing a calendar that can be used to choose a date. |
Helper-Slider | <hx:inputHelperSlider> | Adds a numeric slider helper button to an inputText field. Clicking the helper button displays a pop-up containing a "slider" that can be used to choose a number. |
Helper-Spinner | <hx:inputHelperSpinner> | Adds a pair of up/down spinner buttons to an inputText field. Clicking a spinner button increments/decrements a numeric or time value. |
*Input - Hidden | <h:inputHidden> | Inserts a hidden input component. This component is often used by developers to pass data between pages or controls on the page. |
Input - Password | <h:inputSecret> | Adds a password input field to the page. Text entered into the field is echoed back to the user in a modified form (usually as asterisks) and the browser tries to protect the password from being accessible as clear text to other programs. |
File Upload | <hx:fileupload> | Displays an input field and associated Browse button for uploading a file. See Using a File Upload component for more information on the file upload component. |
Select - Calendar | <h:inputMiniCalendar> | Adds small calendar to the page. A user can select a date by clicking a day in the calendar. |
Check box | <h:selectBooleanCheckbox> | Creates an unlabeled boolean check box. See Adding selection lists to a Faces JSP file for more information on this component. |
Check box group | <h:hx:selectManyCheckbox> | Creates a set of labelled check boxes. A user may select zero or more choices from the list of buttons. Refer to Adding selection lists to a Faces JSP file for more information on this component. |
Radio Button Group | <h:selectOneRadio> | Creates a group of labelled radio buttons. A user may select one choice from the list of buttons. Refer to Adding selection lists to a Faces JSP file for more information on this component. |
Combo Box | <h:selectOneMenu> | Displays a drop-down combo box from which the user chooses one item. The combo box input field is not directly editable. Refer to Adding selection lists to a Faces JSP file for more information on this component. |
Select Color | <h:selectOneColor> | Displays a drop-down combo box from which the user chooses a color. The combo box input field is not directly editable. |
List Box - Multiple Select | <h:selectManyListbox> | Inserts a list box in which the user can select multiple items. See Adding selection lists to a Faces JSP file for more information on this component. |
List Box - Single Select | <h:selectOneListbox> | Inserts a list box in which the user selects one item. Refer to Adding selection lists to a Faces JSP file for more information on this component. |