W3C home > Mailing lists > Public > www-forms@w3.org > November 2006

Re: repeats

From: Jason <jeacott@hardlight.com.au>
Date: Fri, 10 Nov 2006 10:17:53 +1030
Message-ID: <4553BE29.5010902@hardlight.com.au>
To: Erik Bruchez <ebruchez@orbeon.com>
CC: www-forms@w3.org

Erik Bruchez wrote:
> Jason wrote:
>  >
>  >> You don't need any binds at all on the template. You just use it as a
>  >> data template.
>  >
>  > But I think binds SHOULD be used. binds prevent the mess of xpath
>  > littering the view, and I think its just good practice to use them.
> You can use binds at your leisure, there are just no binds that need
> to target anything in the template, and no duplication of binds. Your
> initial point was that there would be a mess, a duplication of
> binds. I say no, I don't see why that would be. Your binds, if you
> want any, are still against your main instance, like in your XForms
> 1.0 first edition scenario.

No there is no duplication of binds, just an extra set. I am assuming 
that as a good xforms practitioner you would want to bind all the nodes 
that are to be source nodes AND all the nodes that are to be target 
nodes for the insert to work - which could potentially be all the nodes 
in your instance and your prototype instance, where previously (1.0) the 
prototype instance nodes would of course not be required.
Received on Thursday, 9 November 2006 23:48:10 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:37:54 UTC