May 10, 2021 Java
JSF provides a standard HTML tag library that is rendered as the corresponding html output.
In order to use these labels, we need to use the following URI namespace in the html node.
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" >
The following are important basic labels in JSF 2.0.
Label | Describe |
---|---|
h:inputText
|
Type " text" HTML input, text box. |
h:inputSecret
|
TYPE HTML input for "password", text box. |
h:inputTextarea
|
HTML textarea field. |
h:inputHidden
|
Type is the HTML input of "hidden". |
h:selectBooleanCheckbox
|
A single HTML check box |
h:selectManyCheckbox
|
A set of HTML check boxes |
h:selectOneRadio
|
A single HTML option button. |
h:selectOneListbox
|
A single HTML list box. |
h:selectManyListbox
|
Multiple HTML list boxes. |
h:selectOneMenu
|
HTML combo box. |
h:outputText
|
HTML text. |
h:outputFormat
|
HTML text. |
h:graphicImage
|
HTML image. |
h:outputStylesheet
|
HTML CSS style sheets. |
h:outputScript
|
HTML script output. |
h:commandButton
|
HTML input for the type "submit" button. |
h:Link
|
HTML anchor point. |
h:commandLink
|
HTML anchor point. |
h:outputLink
|
HTML anchor point. |
h:panelGrid
|
A grid in the form of an HTML table. |
h:message
|
JSF message |
h:messages
|
Many JSF messages. |
f:param
|
The parameters of the JSF UI component. |
f:attribute
|
The properties of the JSF UI component. |
f:setPropertyActionListener
|
Sets the value of the properties of the governed bean. |