| |
|
| net.sf.jportlet.portlet.event.ActionEvent
All known Subclasses: net.sf.jportlet.impl.ActionEventImpl,
ActionEvent | public interface ActionEvent extends Event(Code) | | An ActionEvent is sent by the portlet container when an HTTP
request is received that is associated with an action
author: Herve Tchepannou |
ACTION_CONFIGURE | public static String ACTION_CONFIGURE(Code) | | Name of the action if the portlet in
net.sf.jportlet.portlet.Portlet.Mode.CONFIGURE mode
|
ACTION_EDIT | public static String ACTION_EDIT(Code) | | Name of the action if the portlet in
net.sf.jportlet.portlet.Portlet.Mode.EDIT mode
|
ACTION_HELP | public static String ACTION_HELP(Code) | | Name of the action if the portlet in
net.sf.jportlet.portlet.Portlet.Mode.HELP mode
|
ACTION_VIEW | public static String ACTION_VIEW(Code) | | Name of the action if the portlet in
net.sf.jportlet.portlet.Portlet.Mode.VIEW mode
|
RETURN_ERROR | public static String RETURN_ERROR(Code) | | Code to return if an error has occured while perfoming the action
|
RETURN_INPUT | public static String RETURN_INPUT(Code) | | Code to return if mode input data are required
|
RETURN_SUCCESS | public static String RETURN_SUCCESS(Code) | | Code to return if performing the action was successfull
|
addError | public void addError(Object error)(Code) | | Add an error.
Collection |
getNextURI | public PortletURI getNextURI()(Code) | | Return the URI where to move after the action is executed. If not set,
the container will used
ActionEvent.getReturnCode() to determine the URI where to move.
This is useful for managing navigation inside the portlet.
PortletURI |
hasErrors | public boolean hasErrors()(Code) | | Return true if the action has errors
boolean |
setNextURI | public void setNextURI(PortletURI nextURI)(Code) | | Set the URI where to move after the action is executed
Parameters: uri - next URI |
|
|
|