RichFaces-Fast-JSF

From Resin 3.0

Revision as of 16:49, 26 June 2008 by Alex (Talk | contribs)
Jump to: navigation, search

Contents

Running RichFaces and Ajax4JSF applications in fast-jsf mode

Fast JSF

Resin allows running your JSF applications in fast jsf mode. Fast JSF mode is applied to JSP code generator making it bypass JSP tags and use the component classes directly to construct the page. To enable fast JSF mode for a particular library Resin needs to know which components the tags bind to. For example, in a standard JSF library a h:message component would bind to javax.faces.component.html.HtmlMessageand Resin knows it from the following binding included in Resin's distribution.

<jsf-taglib xmlns="http://caucho.com/ns/resin">
  <uri>http://java.sun.com/jsf/html</uri>
....
  <jsf-tag>
    <name>messages</name>
    <component-class>javax.faces.component.html.HtmlMessages</component-class>
  </jsf-tag>

Ajax4JSF

RichFaces

Personal tools