xforms:insert with binding + relevant?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

xforms:insert with binding + relevant?

dsharp
Hi.

I am building a page with Xforms and I understand how the "insert" works for repeat forms (when you use "ref").  But this seems awfully sloppy since I don't want all the extraneous xml submitted when I do this.

Unfortunately, when I use "bind" with "relevant" (so only the relevant xml is submitted) and also a repeat form, it links all the forms, not allowing a fresh form.  Any info put in the first firm automatically generates into the second form. Using "origin" seems not to matter.  

Is there any way to have a repeat form that allows for relevance?

Thanks!
-D
Reply | Threaded
Open this post in threaded view
|

Re: xforms:insert with binding + relevant?

Erik Bruchez
Administrator
I am not sure I follow. Can you provide a small sample of what your
code looks like?

-Erik

On Wed, Jun 1, 2011 at 1:38 PM, dsharp <[hidden email]> wrote:

> Hi.
>
> I am building a page with Xforms and I understand how the "insert" works for
> repeat forms (when you use "ref").  But this seems awfully sloppy since I
> don't want all the extraneous xml submitted when I do this.
>
> Unfortunately, when I use "bind" with "relevant" (so only the relevant xml
> is submitted) and also a repeat form, it links all the forms, not allowing a
> fresh form.  Any info put in the first firm automatically generates into the
> second form. Using "origin" seems not to matter.
>
> Is there any way to have a repeat form that allows for relevance?
>
> Thanks!
> -D
>
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/xforms-insert-with-binding-relevant-tp3566860p3566860.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> 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
Reply | Threaded
Open this post in threaded view
|

Re: Re: xforms:insert with binding + relevant?

dsharp
Please take a look at the code attached.

Basically, what I can't figure out is how to when you click the trigger for "Add Another Book" how to unlink it from the previous form.  
In other pages I've built I could do this using "origin" but that doesn't seem to be working here.

Any and all help is appreciated.
Thanks,
Darla


On Mon, Jun 6, 2011 at 11:09 PM, Erik Bruchez <[hidden email]> wrote:
I am not sure I follow. Can you provide a small sample of what your
code looks like?

-Erik

On Wed, Jun 1, 2011 at 1:38 PM, dsharp <[hidden email]> wrote:
> Hi.
>
> I am building a page with Xforms and I understand how the "insert" works for
> repeat forms (when you use "ref").  But this seems awfully sloppy since I
> don't want all the extraneous xml submitted when I do this.
>
> Unfortunately, when I use "bind" with "relevant" (so only the relevant xml
> is submitted) and also a repeat form, it links all the forms, not allowing a
> fresh form.  Any info put in the first firm automatically generates into the
> second form. Using "origin" seems not to matter.
>
> Is there any way to have a repeat form that allows for relevance?
>
> Thanks!
> -D
>
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/xforms-insert-with-binding-relevant-tp3566860p3566860.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> 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

auctions.xml (8K) Download Attachment
Init.xml (8K) Download Attachment
Test4.xhtml (57K) Download Attachment