- From: Jérôme Nègre <jerome.negre@e-xmlmedia.fr>
- Date: Mon, 07 Oct 2002 09:02:32 +0200
- To: "Subramanian Peruvemba (PV)" <subramanian.peruvemba@oracle.com>
- CC: "'Micah Dubinko'" <MDubinko@cardiff.com>, www-forms@w3.org
Hi, > I am not sure if I follow you here. > My question was how does "bind" work when UI controls are within the > context of a group/repeat. Let me try with another example. > > <instance> > <a> -----------------[Node-1] > <b> -----------------[Node-2] > <a/> -----------------[Node-3] > </b> > </a> > </instance> > > <bind id="b1" nodeset="/a/b"> > <bind id="b2" nodeset="a" relevant="false"> This last nodeset binds to node /*/a, that is to say none in your instance. > > <repeat ref="/a/b" > > <input id="i1" bind="b2"> > ... > </input> > </repeat> > > Question: > 1. Does the "input" bind to "Node-1" OR "Node-3" > 2. The "readonly" applies to "Node-1" OR "Node-3" They are bound to another node, /*/a. However, if you instance was like this: <myroot> <a> (node 1) <b> (node 2) <a/> (node 3) </b> </a> </myroot> The input would be bound to node 1, and the relevant would apply to node 1 also. Regards, Jérôme
Received on Monday, 7 October 2002 03:04:04 UTC