| Trees | Index | Help |
|
|---|
| Module AjaxStub :: Class AjaxStub |
|
object --+
|
AjaxStubDispatch --+
|
AjaxStub
| Method Summary | |
|---|---|
Call the constructor of the base class passing it the encoding type. | |
Return the default CGI method. | |
Get the raw CGI value of the provided key. | |
Get a tuple of the function and method dictionaries. | |
Get a list of the registered functions and/or methods to be turned into JavaScript stubs. | |
Test if the CGI name exists. | |
Enables the including of the traceback in the error result. | |
Register the functions. | |
Set the CGI method to either 'GET' or 'POST'. | |
Remove the object mapped to by the method name from the StubContainer. | |
| Inherited from AjaxStubDispatch | |
Add new content types to the defaults. (Class method) | |
Dispatch the JavaScript request code, of your choice, plus the stubs to standard out. | |
Send the content type to the client. | |
Print to standard out the results of the requested function or method call. | |
| Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) | |
| Class Variable Summary | |
|---|---|
str |
ARGUMENT = 'arg'
|
str |
COMMAND = 'cmd'
|
str |
GET = 'GET'
|
str |
POST = 'POST'
|
| Inherited from AjaxStubDispatch | |
str |
HTML = 'HTML'
|
str |
JSON = 'JSON'
|
str |
XML = 'XML'
|
| Instance Method Details |
|---|
__init__(self,
type='HTML',
methodClassInstance=None)
|
getCGIMethod(self)Return the default CGI method.
|
getCGIValue(self, key)Get the raw CGI value of the provided key.
|
getMethodMaps(self)Get a tuple of the function and method dictionaries.
|
getStubMethodNameList(self)Get a list of the registered functions and/or methods to be turned into JavaScript stubs.
|
hasCGIKey(self, key)Test if the CGI name exists.
|
includeTraceback(self)Enables the including of the traceback in the error result. |
register(self, *args)Register the functions.
|
setCGIMethod(self, method='GET')Set the CGI method to either 'GET' or 'POST'.
|
unregister(self, name)Remove the object mapped to by the method name from the
|
| Class Variable Details |
|---|
ARGUMENT
|
COMMAND
|
GET
|
POST
|
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Fri Aug 3 23:25:20 2007 | http://epydoc.sf.net |