Login  Register

Re: Is there anyway to have the ref in a setvalue be dynamic?

Posted by fl.schmitt(ops-users) on Mar 04, 2011; 7:22pm
URL: https://discuss.orbeon.com/Is-there-anyway-to-have-the-ref-in-a-setvalue-be-dynamic-tp3335494p3335813.html

Hi Mike,

> The value being set is a static definition. Is there anyway to have
> the reference be dynamic? In other words, could the name of the
> instance to be set be stored in another instance and referred to
> indirectly?

this should be possible - take a look at the xxforms:evaluate [1] or
the xxforms:evaluate-avt() [2] functions.

HTH
florian

[1]
http://wiki.orbeon.com/forms/doc/developer-guide/xforms-xpath-functions#TOC-xxforms:evaluate-
[2]
http://wiki.orbeon.com/forms/doc/developer-guide/xforms-xpath-functions#TOC-xxforms:evaluate-avt-


--
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