public class ViewAction
extends org.apache.commons.scxml.model.Action
Custom Commons SCXML action to set the JSF view identifier of the next view to be rendered by this dialog.
Constructor and Description |
---|
ViewAction() |
Modifier and Type | Method and Description |
---|---|
void |
execute(org.apache.commons.scxml.EventDispatcher evtDispatcher,
org.apache.commons.scxml.ErrorReporter errRep,
org.apache.commons.scxml.SCInstance scInstance,
org.apache.commons.logging.Log appLog,
Collection derivedEvents)
Set nextViewId in dialog properties, which will be the next view
rendered by this dialog.
|
String |
getViewId()
Get the view identifier.
|
void |
setViewId(String viewId)
Set the view identifier.
|
public void execute(org.apache.commons.scxml.EventDispatcher evtDispatcher, org.apache.commons.scxml.ErrorReporter errRep, org.apache.commons.scxml.SCInstance scInstance, org.apache.commons.logging.Log appLog, Collection derivedEvents) throws org.apache.commons.scxml.model.ModelException, org.apache.commons.scxml.SCXMLExpressionException
Set nextViewId in dialog properties, which will be the next view rendered by this dialog.
execute
in class org.apache.commons.scxml.model.Action
evtDispatcher
- The EventDispatcher for this execution instanceerrRep
- The ErrorReporterscInstance
- The state machine execution instance informationappLog
- The application logderivedEvents
- The collection of internal eventsorg.apache.commons.scxml.model.ModelException
- If execution causes a non-deterministic stateorg.apache.commons.scxml.SCXMLExpressionException
- Bad expressionpublic String getViewId()
public void setViewId(String viewId)
viewId
- The view identifierCopyright © 2004-2013 Apache Software Foundation. All Rights Reserved.