The largest Interview Solution Library on the web


« Previous | 1 | 2 | 3 | Next »

Basic 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.

<html
xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
>

Following are important Basic Tags in JSF 2.0:
S.N.Tag & Description
1h:inputText
Renders a HTML input of type="text", text box.
2h:inputSecret
Renders a HTML input of type="password", text box.
3h:inputTextarea
Renders a HTML textarea field.
4h:inputHidden
Renders a HTML input of type="hidden".
5h:selectBooleanCheckbox
Renders a single HTML check box.
6h:selectManyCheckbox
Renders a group of HTML check boxes.
7h:selectOneRadio
Renders a single HTML radio button.
8h:selectOneListbox
Renders a HTML single list box.
9h:selectManyListbox
Renders a HTML multiple list box.
10h:selectOneMenu
Renders a HTML combo box.
11h:outputText
Renders a HTML text.
12h:outputFormat
Renders a HTML text. It accepts parameters.
13h:graphicImage
Renders an image.
14h:outputStylesheet
Includes a CSS style sheet in HTML output.
15h:outputScript
Includes a script in HTML output.
16h:commandButton
Renders a HTML input of type="submit" button.
17h:Link
Renders a HTML anchor.
18h:commandLink
Renders a HTML anchor.
19h:outputLink
Renders a HTML anchor.
20h:panelGrid
Renders an HTML Table in form of grid.
21h:message
Renders message for a JSF UI Component.
22h:messages
Renders all message for JSF UI Components.
23f:param
Pass parameters to JSF UI Component.
24f:attribute
Pass attribute to a JSF UI Component.
25f:setPropertyActionListener
Sets value of a managed bean's property
« Previous | 1 | 2 | 3 | Next »


copyright © 2014 - all rights riserved by javatechnologycenter.com