PreviousActionInfo Class
- public class PreviousActionInfo
extends Object
implements Serializable
Stores information about a recent action execution within a pageflow -- used with
Used with return-to="previousAction" on @jpf:forward.
-
Hierarchy
-
Object
PreviousActionInfo
-
All Implemented Interfaces
-
Serializable
public String |
-
getActionURI()
- Get the URI that was used to execute the action.
|
public ActionForm |
-
getForm()
- Get the form that was passed to the action.
|
public void |
-
setActionURI(String actionURI)
- Set the URI that was used to execute the action.
|
public void |
-
setForm(ActionForm form)
- Set the form that was passed to the action.
|
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PreviousActionInfo
public PreviousActionInfo(ActionForm form,
String actionURI)
- Constructor which accepts an ActionForm and action URI.
getActionURI() Method
public String getActionURI()
Get the URI that was used to execute the action.
Returns
- the String URI that was used to execute the action.
getForm() Method
public ActionForm getForm()
Get the form that was passed to the action.
Returns
- the form that was passed to the action.
setActionURI(String) Method
public void setActionURI(String actionURI)
Set the URI that was used to execute the action.
Parameters
-
actionURI
- the URI that was used to execute the action.
setForm(ActionForm) Method
public void setForm(ActionForm form)
Set the form that was passed to the action.
Parameters
-
form
- the form that was passed to the action.