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.String getJSRef(IlxWPort port)
      Get a JavaScript reference on the action.
      int getType()
      Gets the type of this action.
      boolean isJavaAction()
      Tells whether this action is a Java action or not.
      void notifyDependencies(IlxWPort port) 
      void setRequest(IlxWRequestDesc desc)
      Sets the request descriptor for this action.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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: IlxWAction
        Gets the type of this action.
        Specified by:
        getType in interface IlxWAction
        Returns:
        The type of this action.
      • isJavaAction

        public boolean isJavaAction()
        Description copied from interface: IlxWAction
        Tells whether this action is a Java action or not.
        Specified by:
        isJavaAction in interface IlxWAction
        Returns:
        true if this action is a Java action.
      • getJSRef

        public java.lang.String getJSRef(IlxWPort port)
        Description copied from interface: IlxWAction
        Get a JavaScript reference on the action. This method is internally used by the web components framework.
        Specified by:
        getJSRef in interface IlxWAction
        Specified by:
        getJSRef in interface ilog.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:
        notifyDependencies in interface ilog.webui.dhtml.IlxWDependencyProvider

© Copyright IBM Corp. 1987, 2020