com.ibm.xsp.actions.client
Class AbstractClientSimpleAction

java.lang.Object
  extended by javax.faces.el.MethodBinding
      extended by com.ibm.xsp.binding.MethodBindingEx
          extended by com.ibm.xsp.actions.client.AbstractClientSimpleAction
All Implemented Interfaces:
ClientSimpleAction, ComponentBindingObject, ValueBindingObject, javax.faces.component.StateHolder
Direct Known Subclasses:
ComponentPublishPropertyAction, ComponentPublishViewColumnAction, ExecuteScriptClientAction, ScriptGroup

public abstract class AbstractClientSimpleAction
extends MethodBindingEx
implements ClientSimpleAction

Abstract base class for a client side simple action.


Field Summary
 
Fields inherited from class com.ibm.xsp.binding.MethodBindingEx
ENABLE_SOURCEID
 
Constructor Summary
AbstractClientSimpleAction()
           
 
Method Summary
 java.lang.String getExpressionString()
          Returns the empty string by default, as expression returned for the Simple Action may require a runtime context for generating the actual JavaScript.
 java.lang.Class getType(javax.faces.context.FacesContext context)
          Return the type of the expression, which is always String for client simple actions.
 
Methods inherited from class com.ibm.xsp.binding.MethodBindingEx
getComponent, getFacesContext, getParamNames, getParent, getSourceReferenceId, getValueBinding, isTransient, normalizePageName, restoreState, saveState, setComponent, setParamNames, setParent, setSourceReferenceId, setTransient, setValueBinding
 
Methods inherited from class javax.faces.el.MethodBinding
invoke
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractClientSimpleAction

public AbstractClientSimpleAction()
Method Detail

getExpressionString

public java.lang.String getExpressionString()
Returns the empty string by default, as expression returned for the Simple Action may require a runtime context for generating the actual JavaScript.

Overrides:
getExpressionString in class javax.faces.el.MethodBinding

getType

public java.lang.Class getType(javax.faces.context.FacesContext context)
                        throws javax.faces.el.MethodNotFoundException
Return the type of the expression, which is always String for client simple actions.

Specified by:
getType in class javax.faces.el.MethodBinding
Throws:
javax.faces.el.MethodNotFoundException