Re: Re: Re: Re: Re: Re: Re: DMV-14 form question
Posted by
Alessandro Vernet on
Dec 26, 2009; 12:12am
URL: https://discuss.orbeon.com/DMV-14-form-question-tp957046p978941.html
Pratik,
Is your <xforms:insert> inserting from a "template instance" which
just contains one empty "row", using the "origin" attribute? Borrowing
from the how-to Erik was linking to, your insert statement should look
something like:
<xforms:insert ev:event="DOMActivate"
context="." nodeset="fruit"
origin="instance('new-fruit')"/>
Alex
On Tue, Dec 22, 2009 at 6:02 AM, <
[hidden email]> wrote:
> Hi Erik,
> Thanks for your reply, I did go through the link you said for how the
> insert statement works. However, my question still remains unanswered. If I do
> not have any rows showing up in the table when the form loads, then the 'Add
> Vehicle' trigger does not work. Is there any alternative to it?
>
> Thanks,
> -Pratik
>
>
> --
> 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>
>
--
Orbeon Forms - Web forms, open-source, for the Enterprise
Orbeon's Blog:
http://www.orbeon.com/blog/My Twitter:
http://twitter.com/avernet--
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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet