Access keys

EventLoadVars

Kind of class: class
Inherits from: LoadVars
Classpath: org.asapframework.util.forms.EventLoadVars
File last modified: Monday, 06 November 2006, 08:09:16
This class extends LoadVars to send messages on onData and onLoad.

It keeps a copy of the raw data as received from the server, that can be
accessed in .serverResult, p.e. to check what the server response was

Note: LoadVars uses its toString() to enumerate all properties and send them to the server.
Since this class adds BroadcasterMX properties, these are listed in toString, and therefore
sent to the server. Be aware that no properties to be sent to the server are named the same as
these properties.

>>> Ignore the note above, this has been fixed with ASSetPropFlags (Martijn, 20-12-2004)

Summary

Constructor

EventLoadVars

function EventLoadVars (
)

Instance properties

addListener

addListener:Function
(read,write)

broadcastMessage

broadcastMessage:Function
(read,write)

removeListener

removeListener:Function
(read,write)

serverResult

serverResult:String
(read)
getter for the response of the server. This only contains the parameter list, provided the server response was valid
Returns:
String