Class VariableResolverUtil

  extended by org.apache.myfaces.tobago.util.VariableResolverUtil

public class VariableResolverUtil
extends java.lang.Object

Method Summary
static void clearVariable(FacesContext context, java.lang.String variable)
          Clears the value of the variable.
static java.lang.Object resolveVariable(FacesContext context, java.lang.String variable)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Detail


public static java.lang.Object resolveVariable(FacesContext context,
                                               java.lang.String variable)


public static void clearVariable(FacesContext context,
                                 java.lang.String variable)
Clears the value of the variable. Useful for cleaning up e.g. a session or application variable to save memory without the knowledge of the scope. Also useful to enforce a new creation of a managed-bean.

context -
variable -

Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.