Login  Register

Re: Re: Re: DMV-14 form question

Posted by Erik Bruchez on Dec 11, 2009; 3:17am
URL: https://discuss.orbeon.com/DMV-14-form-question-tp957046p960765.html

Check template-form.xml, which is the default instance loaded. It contains :

<vehicles>
    <vehicle>
        <plate-number/>
        <vin/>
        <leased/>
    </vehicle>
</vehicles>

If you replace this with:

<vehicles/>

then no vehicle should appear initially.

Bottom line is the UI is driven by the initial data.

-Erik

On Thu, Dec 10, 2009 at 1:47 PM,  <[hidden email]> wrote:

> Hi Alexander,
>       Thanks for your reply. However, there is no such instance defined in the
> model.xml:
>
> <xforms:instance id="vehicle-template" xxforms:readonly="true">
>
> I guess the initial row comes up due to the nature of the following statement
> in DMV-14/view.xml file:
>
> <xforms:repeat nodeset="dmv:vehicle" id="vehicles-repeat">
>
> Please let me know if I am missing something here.
>
> Thanks again for looking into it.
>
> -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