Adding a RenderKit to a Web Application

A RenderKit is a library of renders. A render is used to customize the encoding and decoding for a specific client device or localized application user.

A RenderKit can implement a look and feel, called a skin, target specific devices, such as a phone, PDA, or markup language, for example, WML, HTML, or SVG. In a JavaServer Page (JSP) a RenderKit is represented as a custom tag library. For detailed information on RenderKits, see the Sun JavaServer Faces Specification.

  1. In the WorkSpace Navigator of the Web Application Development perspective, select faces-config.xml. The JSF Application Configuration editor opens.
  2. Select the Component tab.
  3. Expand the RenderKits section. A list of defined RenderKits, general information, and a list of renderers of the selected RenderKit appears.
  4. Click Add. A new RenderKit is added with the default name "New RenderKit x".
  5. (Optional) Change the default RenderKit name to a unique, descriptive name in the Display Name field of the General section.
  6. (Optional) Enter a description.
  7. Type an ID in the RenderKit ID field.
  8. Click Browse and select a RenderKit Class.
Related concepts
JSF Application Configuration Editor
JavaServer Faces
Configuring the faces-config xml File
Related tasks
Adding a Component to a Web Application
Adding a Converter to a Web Application
Adding a Validator to a Web Application
Adding an Action Listener to a Web Application
Adding a Default RenderKit ID to a Web Application
Adding Locale Configuration to a Web Application
Adding a Message Bundle to a Web Application
Adding a Navigation Handler to a Web Application
Adding a Property Resolver to a Web Application
Adding a State Manager to a Web Application
Adding a Variable Resolver to a Web Application
Adding a View Handler to a Web Application
Adding an Application Factory to a Web Application
Adding a Faces Context Factory to a Web Application
Adding a Lifecycle Factory to a Web Application
Adding a RenderKit Factory to a Web Application
Adding a Phase Listener to a Web Application

Send your feedback on this help topic to Sybase Technical Publications: pubs@sybase.com

Your comments will be sent to the technical publications staff at Sybase, Inc. For product-related issues or technical support, contact Sybase Technical Support at 1-800-8SYBASE.