com.caucho.jsp.jsf
Class JsfTagUtil

java.lang.Object
  extended by com.caucho.jsp.jsf.JsfTagUtil

public class JsfTagUtil
extends java.lang.Object

Utilities for JsfTags


Constructor Summary
JsfTagUtil()
           
 
Method Summary
static UIComponent addFacet(FacesContext context, ServletRequest req, UIComponent parent, java.lang.String facetName, ValueExpression binding, java.lang.Class childClass)
           
static UIComponent addPersistent(FacesContext context, ServletRequest req, UIComponent parent, ValueExpression binding, java.lang.Class childClass)
           
static UIComponent addTransient(FacesContext context, ServletRequest req, UIComponent parent, java.lang.String prevId, java.lang.Class childClass)
           
static UIComponent addVerbatim(UIComponent parent, BodyContent body)
           
static UIComponent addVerbatim(UIComponent parent, java.lang.String text)
           
static UIComponent addVerbatim(UIComponent parent, java.lang.String prevId, BodyContent body)
           
static UIComponent addVerbatim(UIComponent parent, java.lang.String prevId, java.lang.String text)
           
static void afterRoot(FacesContext context, HttpServletRequest req, HttpServletResponse res)
           
static UIComponent findFacet(FacesContext context, ServletRequest req, UIComponent parent, java.lang.String facetName)
           
static UIComponent findPersistent(FacesContext context, ServletRequest req, UIComponent parent, java.lang.String id)
           
static UIViewRoot findRoot(FacesContext context, ServletRequest req, java.lang.Object etag)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsfTagUtil

public JsfTagUtil()
Method Detail

findRoot

public static UIViewRoot findRoot(FacesContext context,
                                  ServletRequest req,
                                  java.lang.Object etag)
                           throws java.lang.Exception
Throws:
java.lang.Exception

afterRoot

public static void afterRoot(FacesContext context,
                             HttpServletRequest req,
                             HttpServletResponse res)

addTransient

public static UIComponent addTransient(FacesContext context,
                                       ServletRequest req,
                                       UIComponent parent,
                                       java.lang.String prevId,
                                       java.lang.Class childClass)
                                throws java.lang.Exception
Throws:
java.lang.Exception

addVerbatim

public static UIComponent addVerbatim(UIComponent parent,
                                      java.lang.String prevId,
                                      java.lang.String text)
                               throws java.lang.Exception
Throws:
java.lang.Exception

addVerbatim

public static UIComponent addVerbatim(UIComponent parent,
                                      java.lang.String text)
                               throws java.lang.Exception
Throws:
java.lang.Exception

findPersistent

public static UIComponent findPersistent(FacesContext context,
                                         ServletRequest req,
                                         UIComponent parent,
                                         java.lang.String id)
                                  throws java.lang.Exception
Throws:
java.lang.Exception

addPersistent

public static UIComponent addPersistent(FacesContext context,
                                        ServletRequest req,
                                        UIComponent parent,
                                        ValueExpression binding,
                                        java.lang.Class childClass)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

addVerbatim

public static UIComponent addVerbatim(UIComponent parent,
                                      java.lang.String prevId,
                                      BodyContent body)
                               throws java.lang.Exception
Throws:
java.lang.Exception

addVerbatim

public static UIComponent addVerbatim(UIComponent parent,
                                      BodyContent body)
                               throws java.lang.Exception
Throws:
java.lang.Exception

findFacet

public static UIComponent findFacet(FacesContext context,
                                    ServletRequest req,
                                    UIComponent parent,
                                    java.lang.String facetName)
                             throws java.lang.Exception
Throws:
java.lang.Exception

addFacet

public static UIComponent addFacet(FacesContext context,
                                   ServletRequest req,
                                   UIComponent parent,
                                   java.lang.String facetName,
                                   ValueExpression binding,
                                   java.lang.Class childClass)
                            throws java.lang.Exception
Throws:
java.lang.Exception