In this chapter, you will learn about various types of basic JSF tags.
JSF provides a standard HTML tag library. These tags get rendered into corresponding html output.
For these tags you need to use the following namespaces of URI in html node.
Following are the important Basic Tags in JSF 2.0.
S.No | Tag & Description |
---|---|
1 | h:inputText |
Renders a HTML input of type="text", text box.
Renders a HTML input of type="password", text box.
Renders a HTML textarea field.
Renders a HTML input of type="hidden".
Renders a single HTML check box.
Renders a group of HTML check boxes.
Renders a single HTML radio button.
Renders a HTML single list box.
Renders a HTML multiple list box.
Renders a HTML combo box.
Renders a HTML text.
Renders a HTML text. It accepts parameters.
Renders an image.
Includes a CSS style sheet in HTML output.
Includes a script in HTML output.
Renders a HTML input of type="submit" button.
Renders a HTML anchor.
Renders a HTML anchor.
Renders a HTML anchor.
Renders an HTML Table in form of grid.
Renders message for a JSF UI Component.
Renders all message for JSF UI Components.
Pass parameters to JSF UI Component.
Pass attribute to a JSF UI Component.
Sets value of a managed bean's property.