Java Server faces for Lazy Persons
JAVA SERVER FACES HTML TAGS :
h:column creates column in a dataTable
h:commandButton creates button
h:commandLink creates link that acts like a pushbutton
h:dataTable creates a table control
h:form creates a form
h:graphicImage displays an image
h:inputHidden creates hidden field
h:inputSecret creates input control for password
h:inputText creates text input control (single line)
h:inputTextarea creates text input control (multiline)
h:message displays the most recent message for a component
h:messages displays all messages
h:outputFormat creates outputText, but formats compound messages
h:outputLabel creates label
h:outputLink creates anchor
h:outputText creates single line text output
h:panelGrid creates html table with specified number of columns
h:panelGroup used to group other components where the specification requires one child element
h:selectBooleanCheckbox creates checkbox
h:selectManyCheckbox creates set of checkboxes
h:selectManyListbox creates multiselect listbox
h:selectManyMenu creates multiselect menu
h:selectOneListbox creates single select listbox
h:selectOneMenu creates single select menu
h:selectOneRadio creates set of radio buttons
Java Server Faces Core Tags:
f :view creates the top-level view
f:subview creates a subview of a view
f:attribute adds an attribute to a component
f:param constructs a parameter component
f:converter adds an arbitrary converter to a component
f:converterDateTime adds a datetime converter to a component
f:converterNumber adds a number converter to a component
f:actionListener adds an action listener to a component
f:valueChangeListener adds a valuechange listener to a component
f:validator adds a validator to a component
f:validateDoubleRange validates a double range for a component’s value
f:validateLength validates the length of a component’s value
f:validateLongRange validates a long range for a component’s value
f:facet adds a facet to a component
f:loadBundle loads a resource bundle, stores properties as a Map
f:selectitems specifies items for a select one or select many component
f:selectitem specifies an item for a select one or select many component
f:verbatim adds markup to a JSF page
Composite Tag Library
The composite tag library supports the definition and implementation of composite UI components based on the Facelets view declaration language (VDL). This feature since JSF 2.0.
c:actionSource : This tag is used to specify the action source for the composite component declared in composite:interface.
c:attribute : This tag is used to declare an attribute for the composite component.
c:editableValueHolder : This tag is used to implement the EditableValueHolder.
c:extension : This tag is used inside the composite:interface to add an XML element.
c:facet : This tag is used to specify the facet is supported by this composite component.
c:implementation : This tag is used to define a composite component’s implementation.
c:insertChildren : This tag is used to insert a child within the composite component.
c:insertFacet : This tag is used to insert a facet child of the component by taking from the top level facet map.
c:interface : This tag is used to declare the use for a composite component.
c:renderFacet : This tag is used to specify a facet with the attribute name.
c:valueHolder : This tag is used for holding the value (attached objects) of the referenced composite component.