org.apache.shale.dialog.faces
Class DialogVariableResolver

java.lang.Object
  extended by javax.faces.el.VariableResolver
      extended by org.apache.shale.dialog.faces.DialogVariableResolver

public final class DialogVariableResolver
extends javax.faces.el.VariableResolver

Variable resolver that provides access to the instance data for a particular DialogContext instance with a single symbol.

Since:
1.1

Constructor Summary
DialogVariableResolver(javax.faces.el.VariableResolver original)
          Wrap the specified VariableResolver instance.
 
Method Summary
 Object resolveVariable(javax.faces.context.FacesContext context, String name)
          Resolve a reference to our dialog instance data (if requested), or delegate to the original VariableResolver.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DialogVariableResolver

public DialogVariableResolver(javax.faces.el.VariableResolver original)

Wrap the specified VariableResolver instance.

Parameters:
original - Original instance to be wrapped
Method Detail

resolveVariable

public Object resolveVariable(javax.faces.context.FacesContext context,
                              String name)
                       throws javax.faces.el.EvaluationException

Resolve a reference to our dialog instance data (if requested), or delegate to the original VariableResolver.

Specified by:
resolveVariable in class javax.faces.el.VariableResolver
Parameters:
context - FacesContext for the current request
name - Name of the variable to resolve
Throws:
javax.faces.el.EvaluationException


Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.