Re: dynamic bind question
Posted by
Erik Bruchez on
URL: https://discuss.orbeon.com/dynamic-bind-question-tp997379p1311795.html
Jeremiah,
It's not possible to add a new xforms:bind, but if you already had
binds with all the types in your form, you could play with the
@nodeset attribute, e.g.:
<xforms:bind type="xs:integer" nodeset="...dynamically point to nodes
that must be integers..."/>
-Erik
On Sat, Jan 2, 2010 at 11:21 AM, Jeremiah Jahn <
[hidden email]> wrote:
> Is it possible to dynamically add a bind element to the model?
>
> I have a form where users can add another field to it, and I want them to be able to specify the xs:type of the field. I know I can submit the form, and then reload it with the additonal bind element added to the model, but I was really hoping that I wouldn't have to make that round trip call. and That I could use some sort of xforms:insert or something. This seems like something that has to have been tackled in formbuilder, so I figure there must be a way.
>
> thanks for the help.
>
> --
> 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