I want to use a value from one of my XForms instances, which is populated via a web service, as a parameter to a JavaScript function, I cannot seem to get working.
Something like:
<xxf:script>
var val = ORBEON.xforms.Document.getValue(instance('fr-service-response-instance')//*:MyValue);
alert(val);
</xxf:script>
The question is how do I get the value of "MyValue" from the instance? The above code throws an Orbeon exception.