Hi,
> How do I capture a return value from Javascript into an instance variable
This is described here:
http://wiki.orbeon.com/forms/doc/developer-guide/xforms-javascript-integration#TOC-Getting-and-Setting-Controls-Value-In short:
- create a xforms control (usually, a xforms:input bound to the
instance node you want to expose to js);
- put ORBEON.xforms.Document.setValue(myControl, "myValue") into your
javascript to modify that control - the value change will be
propagated to the xforms instance.
If you don't want to expose that "intermediary" xforms control to the
user, just add a style="display:none;" to the control to hide it.
HTH
florian
--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws