Package ZenModel :: Package browser :: Module Autocompleters :: Class ComponentPaths
[hide private]
[frames] | no frames]

Class ComponentPaths

source code

         Acquisition.Explicit --+    
                                |    
Products.Five.browser.BrowserView --+
                                    |
                                   ComponentPaths

Get component paths and names associated with a given device or group of devices.

Adapts DeviceClasses.

Instance Methods [hide private]
"[('/path/to/comp1', 'comp1'), ...]"
__call__(self, deviceIds=())
Returns: A JSON representation of a list of tuples describing components under devices specified
source code

Inherited from Products.Five.browser.BrowserView: __init__

Class Variables [hide private]

Inherited from Products.Five.browser.BrowserView: security

Method Details [hide private]

__call__(self, deviceIds=())
(Call operator)

source code 
Parameters:
  • deviceIds (str) - One ore more device ids under which components should be sought
Returns: "[('/path/to/comp1', 'comp1'), ...]"
A JSON representation of a list of tuples describing components under devices specified
Decorators:
  • @json
  • @formreq