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

Class ServiceList

source code

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

Get a list of id and descriptions for a live search

Instance Methods [hide private]
"['id1', 'id2', ...]"
__call__(self, dataRoot='serviceclasses')
Returns: A JSON representation of a list of service ids
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, dataRoot='serviceclasses')
(Call operator)

source code 
Parameters:
  • dataRoot (str) - The name of the relation under which services should be sought
Returns: "['id1', 'id2', ...]"
A JSON representation of a list of service ids
Decorators:
  • @json
  • @formreq