psdi.webclient.system.controller

Class SystemEventHandler

    • Constructor Detail

      • SystemEventHandler

        public SystemEventHandler()
    • Method Detail

      • loadapp

        public int loadapp()
        Description copied from interface: EventHandlerInterface
        This event should be called only as a result of the browser URL being changed to the target application, presumably by the JSP code.

        The URL needs to set:

      • event=loadapp
      • value=[application name] - the target application
      • (optional) debug=[integer number] - sets debug mode

        Create an instance of the target application, clears the application stack for the current session and puts the new application on the stack

Specified by:
loadapp in interface EventHandlerInterface
  • leavesession

    public int leavesession()
    Used to allow a rerender to be called on an app at any time without having to send another event An event sent to the server must be handled in order for refresh to happen. The initial intent of this event is for use in app designer.
    Returns:
    int - whether or not to process next event.
  • gotoapp

    public int gotoapp()
    Description copied from interface: EventHandlerInterface
    This event should be called only as a result of the browser URL being changed to the target application, presumably by the JSP code.

    The URL needs to set:

  • event=gotoapp
  • value=[target application]
  • (optional) uniqueid=[a unique key value to set the current record of the target application]

    Create an instance of the target application, set its applink mode flag (so that it is aware of the application being run in link mode), and push the new application on th etop of the application stack for the current session

Specified by:
gotoapp in interface EventHandlerInterface