public abstract class FacesViewActionListener extends ServletActionListener implements javax.faces.event.ActionListener
Constructor and Description |
---|
FacesViewActionListener()
Creates a new
IlvFacesActionListener instance. |
FacesViewActionListener(int invocationContext)
Creates a new
IlvFacesActionListener instance. |
Modifier and Type | Method and Description |
---|---|
protected javax.faces.context.FacesContext |
getFacesContext()
Returns the current faces context.
|
int |
getInvocationContext()
Returns the invocation context of this action.
|
void |
processAction(javax.faces.event.ActionEvent event)
Delegates the event to
ActionListener.actionPerformed(java.util.EventObject) method. |
void |
setInvocationContext(int invocationContext)
Sets the invocation context of this action.
|
protected EventObject |
translateServletAction(EventObject event)
Translates a image servlet event into a JSF event.
|
getActionName, getAdditionalParameters, isUpdateAll, setActionName, setAdditionalParameters, setUpdateAll
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
actionPerformed
public FacesViewActionListener()
IlvFacesActionListener
instance.public FacesViewActionListener(int invocationContext)
IlvFacesActionListener
instance.invocationContext
- The invocation context of this actionIlvDHTMLConstants.JSF_CONTEXT
,
IlvDHTMLConstants.IMAGE_SERVLET_CONTEXT
public int getInvocationContext()
IlvDHTMLConstants.JSF_CONTEXT
,
IlvDHTMLConstants.IMAGE_SERVLET_CONTEXT
public void setInvocationContext(int invocationContext)
invocationContext
- The invocation context.IlvDHTMLConstants.JSF_CONTEXT
,
IlvDHTMLConstants.IMAGE_SERVLET_CONTEXT
public void processAction(javax.faces.event.ActionEvent event) throws javax.faces.event.AbortProcessingException
ActionListener.actionPerformed(java.util.EventObject)
method.javax.faces.event.AbortProcessingException
protected javax.faces.context.FacesContext getFacesContext()
protected EventObject translateServletAction(EventObject event)
Translates a image servlet event into a JSF event.
In order to be used in a JSF context and in the image servlet context,
the event must be translated into an IlvFacesViewActionEvent
.
event
- The event to translate, if applicable.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.