com.ibm.xsp.actions.client
Class ScriptGroup

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

public class ScriptGroup
extends AbstractClientSimpleAction

The xp:scriptGroup tag used in the XPage source to group multiple client simple actions.


Field Summary
 
Fields inherited from class com.ibm.xsp.binding.MethodBindingEx
ENABLE_SOURCEID
 
Constructor Summary
ScriptGroup()
           
 
Method Summary
 void addScript(javax.faces.el.MethodBinding methodBinding)
          Add a MethodBinding instance to the set associated with this property.
 java.lang.String getConditionScript()
           
 java.util.List<javax.faces.el.MethodBinding> getScripts()
           
 java.lang.Object invoke(javax.faces.context.FacesContext context, java.lang.Object[] params)
           
 void restoreState(javax.faces.context.FacesContext context, java.lang.Object value)
           
 java.lang.Object saveState(javax.faces.context.FacesContext context)
           
 void setConditionScript(java.lang.String conditionScript)
           
 
Methods inherited from class com.ibm.xsp.actions.client.AbstractClientSimpleAction
getExpressionString, getType
 
Methods inherited from class com.ibm.xsp.binding.MethodBindingEx
getComponent, getFacesContext, getParamNames, getParent, getSourceReferenceId, getValueBinding, isTransient, normalizePageName, setComponent, setParamNames, setParent, setSourceReferenceId, setTransient, setValueBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptGroup

public ScriptGroup()
Method Detail

invoke

public java.lang.Object invoke(javax.faces.context.FacesContext context,
                               java.lang.Object[] params)
                        throws javax.faces.el.EvaluationException,
                               javax.faces.el.MethodNotFoundException
Specified by:
invoke in class javax.faces.el.MethodBinding
Throws:
javax.faces.el.EvaluationException
javax.faces.el.MethodNotFoundException

getScripts

public java.util.List<javax.faces.el.MethodBinding> getScripts()
Returns:
Returns the actions.

addScript

public void addScript(javax.faces.el.MethodBinding methodBinding)
Add a MethodBinding instance to the set associated with this property.

Parameters:
action -

getConditionScript

public java.lang.String getConditionScript()
Returns:
Returns the condition.

setConditionScript

public void setConditionScript(java.lang.String conditionScript)
Parameters:
condition - The condition to set.

saveState

public java.lang.Object saveState(javax.faces.context.FacesContext context)
Specified by:
saveState in interface javax.faces.component.StateHolder
Overrides:
saveState in class MethodBindingEx

restoreState

public void restoreState(javax.faces.context.FacesContext context,
                         java.lang.Object value)
Specified by:
restoreState in interface javax.faces.component.StateHolder
Overrides:
restoreState in class MethodBindingEx