Re: Re: dynamic bind question

Posted by Jeremiah Jahn-4 on
URL: https://discuss.orbeon.com/dynamic-bind-question-tp997379p1311851.html

Is there an example of something like that laying around?

and is there any way to modify the nodeset attr from within the form. I didnt think so, but the phrasing of your statement gives me hope that there is. My problem is that I don't know what the data structure in the form is element names and paths included. Only the instance name. And users can dynamically add an element of any name and type at any point. making it a little funky.


On Jan 27, 2010, at 10:40 AM, Erik Bruchez wrote:

> 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


--
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