Standard Renderer Behavior
This section describes all implementation-dependent standard renderer classes. Each renderer is described by the component family/renderer type it’s registered for, its encode and decode behavior, and the component attributes it supports in the same format as in Appendix A. For descriptions of the attributes, see the description of the corresponding JSF tag library custom action in Appendix A.
If a component ID is explicitly set, the client ID for the component
is rendered either as the id
attribute on the main
element representing the component, or as the id
attribute of a <span>
element around the
text or element representation. All supported attributes may also be
rendered on the main element or on a <span>
element, and most of them are just passed through to the client,
without any validation of their value.
As general rules, a component with the rendered
property set to true
isn’t
rendered at all, and an input component with either the
disabled
or the readonly
attributes set to true
isn’t
decoded.
Get JavaServer Faces now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.