Package turbogears :: Package widgets :: Module big_widgets :: Class LinkRemoteFunction

Class LinkRemoteFunction

source code

 object --+        
          |        
base.Widget --+    
              |    
        rpc.RPC --+
                  |
                 LinkRemoteFunction

Link with remote execution.

Returns a link that executes a POST asynchronously and updates a DOM Object with the result of it.

Nested Classes
  template_c

Inherited from base.Widget: __metaclass__

Instance Methods

Inherited from rpc.RPC: get_options, update_params

Inherited from base.Widget: __call__, __init__, __repr__, __setattr__, adjust_value, display, render, retrieve_css, retrieve_javascript

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __sizeof__, __str__, __subclasshook__

Class Variables
  template = '\n <a xmlns:py="http://purl.org/kid/ns#" name="...
hash(x)
  params = ['attrs', 'action', 'update', 'data', 'on_success', '...
  attrs = {}

Inherited from rpc.RPC: action, after, before, confirm, data, javascript, loaded, loading, on_complete, on_failure, on_success, update

Inherited from base.Widget: css, default, name, params_doc

Properties

Inherited from base.Widget: is_named

Inherited from object: __class__

Class Variable Details

template

hash(x)

Value:
'''
    <a xmlns:py="http://purl.org/kid/ns#" name="${name}"
        py:attrs="attrs" py:content="value" onclick="${js}" href="#"/>
    '''

params

Value:
['attrs',
 'action',
 'update',
 'data',
 'on_success',
 'on_failure',
 'on_complete',
 'before',
...