Back to index

plone3  3.1.7
Namespaces | Variables
getXMLSelectVocab.py File Reference

Go to the source code of this file.

Namespaces

namespace  getXMLSelectVocab

Variables

dictionary getXMLSelectVocab.params = {param:value, 'display_list': True}
 Script (Python) "getXMLSelectVocab" bind container=container bind context=context bind namespace= bind script=script bind subpath=traverse_subpath parameters=method,param,value title=Get a DisplayList and format for XML request.
tuple getXMLSelectVocab.vocab = getattr(context, method)
tuple getXMLSelectVocab.site_encoding = context.plone_utils.getSiteEncoding()
 getXMLSelectVocab.RESPONSE = context.REQUEST.RESPONSE
 getXMLSelectVocab.translate = context.translate
list getXMLSelectVocab.results = [(translate(vocab.getValue(item)),item) for item in vocab]
list getXMLSelectVocab.item_strings = [u'^'.join(a) for a in results]
string getXMLSelectVocab.result_string = u'|'