org.apache.cocoon.faces
Class FacesUtils

java.lang.Object
  extended by org.apache.cocoon.faces.FacesUtils

public class FacesUtils
extends Object

Version:
CVS $Id: FacesUtils.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Vadim Gritsenko

Constructor Summary
FacesUtils()
           
 
Method Summary
static Object evaluate(javax.faces.context.FacesContext context, String value)
          Evaluate expression
static UIComponentTag findParentUIComponentTag(Tag tag)
           
static javax.faces.component.UIComponent getChild(javax.faces.component.UIComponent component, String id)
          Find child component by ID
static javax.faces.context.FacesContext getFacesContext(Tag tag, Map objectModel)
          Find current FacesContext, and store it in the objectModel
static boolean isExpression(String value)
          Is this an expression?
static javax.faces.component.UIComponent removeChild(javax.faces.component.UIComponent component, String id)
          Remove child component by ID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FacesUtils

public FacesUtils()
Method Detail

getFacesContext

public static javax.faces.context.FacesContext getFacesContext(Tag tag,
                                                               Map objectModel)
Find current FacesContext, and store it in the objectModel


getChild

public static javax.faces.component.UIComponent getChild(javax.faces.component.UIComponent component,
                                                         String id)
Find child component by ID


removeChild

public static javax.faces.component.UIComponent removeChild(javax.faces.component.UIComponent component,
                                                            String id)
Remove child component by ID


isExpression

public static boolean isExpression(String value)
Is this an expression?


evaluate

public static Object evaluate(javax.faces.context.FacesContext context,
                              String value)
Evaluate expression


findParentUIComponentTag

public static UIComponentTag findParentUIComponentTag(Tag tag)


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.