O'Reilly logo

JavaServer Faces by Hans Bergsten

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required