RichFaces-Fast-JSF

From Resin 3.0

(Difference between revisions)
Jump to: navigation, search
m
m
Line 2: Line 2:
  
 
=== Fast JSF ===
 
=== 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 to construct the page. To enable fast JSF mode for a particular library Resin needs to know which components the tags from a particular library bind to. For example, in a standard JSF library a <code>h:message</code> component would bind to <code>javax.faces.component.html.HtmlMessage</code>
+
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 <code>h:message</code> component would bind to <code>javax.faces.component.html.HtmlMessage</code>and Resin knows it from the following binding included in Resin's distribution.
 +
 
 +
<code><pre>
 +
<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>
 +
</pre></code>
  
 
=== Ajax4JSF ===
 
=== Ajax4JSF ===
  
 
=== RichFaces ===
 
=== RichFaces ===

Revision as of 16:49, 26 June 2008

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