Re: Is there anyway to have the ref in a setvalue be dynamic?
Posted by
Erik Bruchez on
Mar 07, 2011; 10:00pm
URL: https://discuss.orbeon.com/Is-there-anyway-to-have-the-ref-in-a-setvalue-be-dynamic-tp3335494p3340110.html
It's an XPath expression so it's already pretty dynamic.Try:
<xforms:setvalue ref="instance(instance('foobar')/instance-name)" value="..."/>
-Erik
On Fri, Mar 4, 2011 at 7:59 AM,
<[hidden email]> wrote:
Hi Folks,
A normal setvalue looks something like:
<xforms:setvalue ref="instance('some-instance')" value="..."/>
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?
Any help most welcome!
Thanks,
Mike Paschal
--
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
--
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