h:commandButton and h:commandLink
- The primary components for navigating within a JSF
application
- h:commandButton renders as a button; h:commandLink
as a link
- When a button or link is activated, a POST request
sends the form data back to the server
h:button and h:link
- Like h:commandButton and h:commandLink, but when a
button or link is activated, a bookmarkable GET request
sends the form data back to the server
h:outputLink
- Generates an HTML anchor element that takes the user to a
resource outside the JSF framework
These tags must be within the scope of an
h:form tag to have
their values communicated to the server.
Simple examples are shown in this section.
See tables 4-18 and 4-21 on pp. 135—139 for a listing of the
available attributes for these tags.
See
Example Applications for example applications that use
them.