com.osbcp.apbs
Class AjaxPostBackCaller

java.lang.Object
  extended by com.osbcp.jjsw.JavaScript
      extended by com.osbcp.apbs.AjaxPostBackCaller
All Implemented Interfaces:
java.io.Serializable

public abstract class AjaxPostBackCaller
extends com.osbcp.jjsw.JavaScript

A specific JavaScript, used to call the $apb JavaScript function that performs the AJAX request.

Author:
Christoffer Pettersson
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.osbcp.jjsw.JavaScript
com.osbcp.jjsw.JavaScript.TYPE
 
Constructor Summary
AjaxPostBackCaller(com.osbcp.jjsw.JavaScript preScript, com.osbcp.jjsw.JavaScript postScript, java.lang.Class<? extends AjaxPostBackEvent> eventClass, java.io.Serializable... arguments)
          Creates a new instance of an AjaxPostBackCaller instance, used to call the $apb JavaScript function that performs an AJAX request.
 
Method Summary
 
Methods inherited from class com.osbcp.jjsw.JavaScript
append, append, call, call, isEmpty, toScriptTag, toScriptTag, toScriptTagSource, toScriptTagSource, toString, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AjaxPostBackCaller

public AjaxPostBackCaller(com.osbcp.jjsw.JavaScript preScript,
                          com.osbcp.jjsw.JavaScript postScript,
                          java.lang.Class<? extends AjaxPostBackEvent> eventClass,
                          java.io.Serializable... arguments)
Creates a new instance of an AjaxPostBackCaller instance, used to call the $apb JavaScript function that performs an AJAX request.

Parameters:
preScript - Any JavaScript that should be executed before the AJAX request.
postScript - Any JavaScript that should be executed before the event's own JavaScript response is executed.
eventClass - The event that should be triggered.
arguments - Any arguments that should be sent to the event, should be the same argument types as the event's constructor.