[daisy] Example .js snippet for accessing fields
Robert Cecil
rob.cecil at gmail.com
Fri Dec 1 12:32:16 CST 2006
Hi,
I need to access a selection list defined in a field in the
repository in an extension form, via flow_jxpath, e.g.
<fd:selection-list type="flow-jxpath" list-path="myList"
value-path="value" label-path="label" />
My question is how do I query the repository (via the javascript api)
to find the list of name/value pairs that I created when I defined a
field? More specifically, if I created a field in the backend, with a
static selection list (manual enumeration) of values and labels, how
would I retrieve that via javascript to populate a CForms front-end
form?
Thanks in advance!
Rob Cecil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cocoondev.org/pipermail/daisy/attachments/20061201/051e63b8/attachment.htm
More information about the daisy
mailing list