Hi, <xforms:bind nodeset="instance('main-instance')"> <xforms:bind nodeset="//*
readonly="true()"/> </xforms:bind> makes everything in ALL instances readonly but <xforms:bind nodeset="instance('main-instance')"> <xforms:bind
nodeset="instance('main-instance')//* readonly="true()"/> </xforms:bind> made only those elements in main-instance readonly is this a bug ? regards Doug Doug Young Software Engineer Teleflex IT
+44 (0) 1506 407107 -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Doug,
Clearly this would be a bug ;-) But I can't reproduce this. See the attached example: is that what you did? Can you build an example reproducible in the sandbox? -Erik Doug Young wrote: > Hi, > > > > > > <xforms:bind nodeset="instance('main-instance')"> > > <xforms:bind nodeset="//* readonly="true()"/> > > </xforms:bind> > > > > makes everything in ALL instances readonly but > > > > > > > > <xforms:bind nodeset="instance('main-instance')"> > > <xforms:bind nodeset="instance('main-instance')//* readonly="true()"/> > > </xforms:bind> > > > > made only those elements in main-instance readonly > > > > is this a bug ? > > > > regards > > Doug > > > > Doug Young > > Software Engineer > > > > Teleflex IT > > 1 Michaelson Square > Livingston > West Lothian > Scotland > EH54 7DP > > +44 (0) 1506 407107 Orbeon - XForms Everywhere: http://www.orbeon.com/blog/ -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws test-readonly.xhtml (1K) Download Attachment |
Erik,
Yes that's exactly what I did. I tried your example and my code in the version from 17-Aug and they both work. Either I messed up somewhere or it was version specific. Thanks Doug Doug Young Software Engineer Teleflex IT 1 Michaelson Square Livingston West Lothian Scotland EH54 7DP +44 (0) 1506 407107 -----Original Message----- From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez Sent: 17 August 2006 19:16 To: [hidden email] Subject: Re: [ops-users] bind with //* minor bug ? Doug, Clearly this would be a bug ;-) But I can't reproduce this. See the attached example: is that what you did? Can you build an example reproducible in the sandbox? -Erik Doug Young wrote: > Hi, > > > > > > <xforms:bind nodeset="instance('main-instance')"> > > <xforms:bind nodeset="//* readonly="true()"/> > > </xforms:bind> > > > > makes everything in ALL instances readonly but > > > > > > > > <xforms:bind nodeset="instance('main-instance')"> > > <xforms:bind nodeset="instance('main-instance')//* readonly="true()"/> > > </xforms:bind> > > > > made only those elements in main-instance readonly > > > > is this a bug ? > > > > regards > > Doug > > > > Doug Young > > Software Engineer > > > > Teleflex IT > > 1 Michaelson Square > Livingston > West Lothian > Scotland > EH54 7DP > > +44 (0) 1506 407107 Orbeon - XForms Everywhere: http://www.orbeon.com/blog/ -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |