Hello!
We are using Orbeon forms with a workflow implementation to display data to
the user and using the Orbeon submissions to control the workflow (through
rest), Now onto my current issue, I have all the data from my workflow that
I want to display, and I have a few XBL components that need this data, I
was previously inserting the data directly into the controls inside the
fr-form-instance.
For Example.
<form>
<section-1>
<Patient>
<firstName>John</firstname>
</Patient>
</section-1>
</form>
Now the issue with this is that the controls of the XBL have to be named
Patient (or what ever the data is) now, I have data that needs to be
referenced by multiple XBL components. I was going to use the
*xxf:instance('fr-form-instance')* to access the data that I put inside the
main section for example.
<form>
<section-1>
<patient-xbl/>
<booking-xbl/>
<Patient-Data>
<firstName>John</firstname>
</Patient-Data>
</section-1>
</form>
Now I want the patient-xbl and the booking-xbl both to be able to reference
the /Patient-Data/, I was attempting to do this with the
*xxf:instance('fr-form-instance')* but had no luck getting anything.
Sorry if my point hasn't come across property or if my explanation is not
clear.
Is there a standard way of doing this?
Thanks for your time.
Joel.
--
Sent from:
http://discuss.orbeon.com/