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.

Instance Methods

Inherited from rpc.RPC: get_options, update_params

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

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

Class Variables
  template = ...
hash(x)
  params = ["attrs"]
  attrs = {}

Inherited from rpc.RPC: javascript

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

Properties

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="#"/>
    """