cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Piroumian" <>
Subject Re: [Proposal] XMLForm: Data Provider
Date Thu, 19 Dec 2002 10:04:07 GMT
From: "Konstantin Piroumian" <>
> From: "Jakob Praher" <>
> Also see how the input controls are bound to the instance data using
> expressions:
> ent

Minor addition to this point. Usually, an XForms form contain a defaul
'instance' data which is referenced by simple expressions like
'/customer/name', but you are allowed to use multiple 'instance' data
objects and you can reference particular 'instance' using instance()
function, e.g.:

The instance:<xforms:instance xmlns="" id="orderform">
and the reference:ref="instance('orderform')/shipTo/firstName"
The default instance in case of XMLForms is the underlying Form object, so
this will require support for multiple instances.As for the function in
referencing expression: it should not be much difficult as XMLForms uses
JXPath to retrieve values and it's quite easy to add extension functions to



> Regards,
>   Konstantin
> >
> > thanks in advance
> >
> > -- Jakob
> >

To unsubscribe, e-mail:
For additional commands, email:

View raw message