cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Barbara Slupik <barbara.slu...@ntlworld.com>
Subject Re: Binding on different xml paths
Date Mon, 04 Aug 2008 21:07:15 GMT
Can you please explain it once again? I don't really understand your  
problem.

Barbara

On 28 Jul, 2008, at 6:00 pm, Héléna Tanguy wrote:

> Hello,
>
> I'm working on a cocoon form with binding on xml document. Now  
> everything works correctly.
> But I must make an evolution to this form, the binding must be made  
> on 2 xml different paths.
>
> For example:
> Some widgets are binded with this xml path: myData/contacts/contact 
> [position="x"]/name, etc
> Some other widget must be binded with this other xml path: myData/ 
> customers/customer[position="x"]/customerId, etc.
> I must display in my form the contact name and the customer id. The  
> contact in position 1 is the same person than the customer in  
> position 1, etc.
> I precise that the xml format cannot be modified, it is a standard  
> format.
>
> In the existing form, the binding was made with "myData/contacts/ 
> contact[position="x"]", but it is not possible to bind the other  
> widget with this xml path.
>
> So my question is: how to do the binding with these 2 xml paths ?  
> Is it possible to pass a parameter in the binding file to precise  
> the position for the person ?
>
> Thank you
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message