Main Page | Packages | Class Tree | Index | Help

xp.mvc

class Context

Object
  |
  +--xp.mvc.Context


class Context
extends Object

The command invocation context object
All Command's execute on a context.


Author:
ProWin Computers Ltd. - Rob Edgar

Version:
3.0.0.000

See also:


Field Summary

public
command: String
The current/last command being processed*

public
fault: Object
The fault *

public
nextCommand: String
The next command to be processed*

public
onFault: Function
The fault event handler*

public
onResult: Function
The result event handler*

public
request: Object
The request*

public
response: Object
The response*

public
result: Object
The result *

public
taskId: Object
The taskID, a unique id *

public
view: Object
The view to call on completion *

Constructor

public
Context ( view: Object, onResult: Function, onFault: Function)
Create a new Context instance



Field Documentation

command

public var command: String
The current/last command being processed*

fault

public var fault: Object
The fault *

nextCommand

public var nextCommand: String
The next command to be processed*

onFault

public var onFault: Function
The fault event handler*

onResult

public var onResult: Function
The result event handler*

request

public var request: Object
The request*

response

public var response: Object
The response*

result

public var result: Object
The result *

taskId

public var taskId: Object
The taskID, a unique id *

view

public var view: Object
The view to call on completion *


Constructor Documentation

Context

public function Context(view: Object,
 onResult: Function,
 onFault: Function)
Create a new Context instance

Parameters:
view
The reference to the view to be called on completion
onResult
The function to call when a result is returned
onFault
The function to call when there is a fault

The documentation was generated from the following file:


Generated on 10/30/2005 9:34:02 PM by AS2Doc