ilog.webui.dhtml.components
Class IlxWRequestAction
- java.lang.Object
-
- ilog.webui.dhtml.components.IlxWRequestAction
-
- All Implemented Interfaces:
- IlxWAction, ilog.webui.dhtml.IlxWDependencyProvider, ilog.webui.dhtml.IlxWJSObject, java.io.Serializable
- Direct Known Subclasses:
- IlxWJavaAction
public class IlxWRequestAction extends java.lang.Object implements IlxWAction
Class for request actions.
A request action is an action that contains a request descriptor object. Component deployers may use this kind of action if they want to send a request to the web server after the action has been triggered.When triggered on the client, the action sends a request to the controller servlet with the descriptor as an argument. The controller servlet processes the modified component queue and forwards the request to the resource path specified in the descriptor. This procedure guarantees that when the request is processed, the components contained in the current manager on the server are in a coherent state with their client side representation.
- See Also:
IlxWController,IlxWRequestDesc,IlxWManager, Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description IlxWRequestAction(IlxWRequestDesc desc)Constructs a request action with the given request descriptor.
-
Method Summary
Methods Modifier and Type Method and Description java.lang.StringgetJSRef(IlxWPort port)Get a JavaScript reference on the action.intgetType()Gets the type of this action.booleanisJavaAction()Tells whether this action is a Java action or not.voidnotifyDependencies(IlxWPort port)voidsetRequest(IlxWRequestDesc desc)Sets the request descriptor for this action.
-
-
-
Constructor Detail
-
IlxWRequestAction
public IlxWRequestAction(IlxWRequestDesc desc)
Constructs a request action with the given request descriptor.- Parameters:
desc- The request descriptor describing the request to send to the server.
-
-
Method Detail
-
getType
public int getType()
Description copied from interface:IlxWActionGets the type of this action.- Specified by:
getTypein interfaceIlxWAction- Returns:
- The type of this action.
-
isJavaAction
public boolean isJavaAction()
Description copied from interface:IlxWActionTells whether this action is a Java action or not.- Specified by:
isJavaActionin interfaceIlxWAction- Returns:
- true if this action is a Java action.
-
getJSRef
public java.lang.String getJSRef(IlxWPort port)
Description copied from interface:IlxWActionGet a JavaScript reference on the action. This method is internally used by the web components framework.- Specified by:
getJSRefin interfaceIlxWAction- Specified by:
getJSRefin interfaceilog.webui.dhtml.IlxWJSObject
-
setRequest
public void setRequest(IlxWRequestDesc desc)
Sets the request descriptor for this action.- Parameters:
desc- The request descriptor.
-
notifyDependencies
public void notifyDependencies(IlxWPort port)
- Specified by:
notifyDependenciesin interfaceilog.webui.dhtml.IlxWDependencyProvider
-
-