| Aurelian 2005-09-16, 7:48 pm |
| Allan Beaufour wrote:
> Hi,
>
> Tuesday 13 September 2005 19:19 skrev Aurelian:
>
>
>
> I just tried submission with two different models, including an external
> instance in the second one. Seems to work for me.
>
> Which version of Mozilla/Firefox and xforms.xpi are you using? Are you getting
> any errors on the JavaScript console?
>
Apparently adding the "optional" bind attribute to the submission solves
it. The following model declaration works:
<xf:model id="Schedule">
<xf:instance src="http://localhost:8080/XForms/XFormsData" />
<xf:bind nodeset="/schedule/provider" id="schedule" />
<xf:bind nodeset="/" id="root" />
<xf:submission bind="root" id="postRequest" method="post"
action="http://localhost:8080/XForms/Submit" />
<xf:submission bind="root" id="getRequest" method="get"
action="http://localhost:8080/XForms/Submit" />
<xf:submission bind="root" id="putRequest" method="put"
action="http://localhost:8080/XForms/Submit" />
</xf:model>
Funny enough using ref or nodeset on the submission declaration won't
help. Is this the intended behavior?
Best Regards,
Aurelian Penciu
apenciu@alpha-it.com
|