com.ibm.xsp.actions
Class AbstractConfirmAction
java.lang.Object
javax.faces.el.MethodBinding
com.ibm.xsp.binding.MethodBindingEx
com.ibm.xsp.actions.AbstractConfirmAction
- All Implemented Interfaces:
- ComponentBindingObject, EncodableObject, ValueBindingObject, javax.faces.component.StateHolder
- Direct Known Subclasses:
- ConfirmAction, DeleteSelectedDocumentsAction
public abstract class AbstractConfirmAction
- extends MethodBindingEx
- implements EncodableObject
Method Summary |
static void |
encodeAction(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
MethodBindingEx binding,
java.lang.String renderType)
|
static void |
encodeAction(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
MethodBindingEx binding,
java.lang.String renderType,
java.lang.String message)
|
void |
encodeObject(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
|
java.lang.String |
getClientId(javax.faces.context.FacesContext context)
|
java.lang.String |
getEvent()
|
java.lang.String |
getMessage()
|
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object value)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setEvent(java.lang.String event)
Set the value of the event property. |
void |
setMessage(java.lang.String message)
|
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 javax.faces.el.MethodBinding |
getExpressionString, getType, invoke |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FAMILY
public static final java.lang.String FAMILY
- See Also:
- Constant Field Values
RENDERER_TYPE
public static final java.lang.String RENDERER_TYPE
- See Also:
- Constant Field Values
AbstractConfirmAction
public AbstractConfirmAction()
getEvent
public java.lang.String getEvent()
- Returns:
- Returns the value the
event
property.
Default value is onclick
if none is set.
setEvent
public void setEvent(java.lang.String event)
- Set the value of the
event
property.
getMessage
public java.lang.String getMessage()
- Returns:
- Returns the value of the
message
property.
setMessage
public void setMessage(java.lang.String message)
- Parameters:
message
- The message 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
encodeObject
public void encodeObject(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws java.io.IOException
- Specified by:
encodeObject
in interface EncodableObject
- Throws:
java.io.IOException
encodeAction
public static void encodeAction(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
MethodBindingEx binding,
java.lang.String renderType,
java.lang.String message)
- Parameters:
context
- component
- binding
- renderType
- message
- Helper method to invoke the action renderer
encodeAction
public static void encodeAction(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
MethodBindingEx binding,
java.lang.String renderType)
- Parameters:
context
- component
- binding
- renderType
- Helper method to invoke the action renderer
getClientId
public java.lang.String getClientId(javax.faces.context.FacesContext context)
- Parameters:
context
- - FacesContext
- Returns:
- the client id for the component.