Login  Register

Re: Re: Re: Re: Re: DMV-14 form question

Posted by Erik Bruchez on Dec 22, 2009; 12:15am
URL: https://discuss.orbeon.com/DMV-14-form-question-tp957046p976656.html

Pratik,

The DMV-14 example inserts using the following:

* an xforms:trigger on which the user activates
* an event handler reacting to activation
* an action performing the insertion into the instance

For insertions, see e.g. how the xforms:insert action works:

http://wiki.orbeon.com/forms/how-to/repeat-insert-position

-Erik

On Sun, Dec 20, 2009 at 2:06 PM,  <[hidden email]> wrote:

> Hi Eric,
>          Sorry for getting back late. In template-form.xml, I did the changes
> as mentioned by you earlier in this post, it did solve my problem of the first
> row not showing up when the page loads, however now the 'Add Vehicle' trigger
> is not working i.e. when i click on it, it is not creating the first row as
> expected. Any idea how can this be achieved? I read in some posts that
> 'context' can be used in the insert statement, however I was not able to
> successfully implement it. Kindly let me know if this is possible. Thanks again
> for your help!
>
> 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
>
>


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