Hi,
I would like to provide an xforms:help for a group of xforms:input elements using xforms:repeat: <xforms:repeat nodeset="etc"> <xforms:input ref="."> <xforms:setvalue ev:event="DOMFocusIn" ref="etc1">xx</xforms:setvalue> [<xforms:help>blah</xforms:help>] </xforms:input> </xforms:repeat> xforms:help (and xforms:hint) can only appear within xforms:input, xforms:output. If I insert one within the input (as shown in bracket above), I would get something like this: How do I bind only one help element per group of repeated inputs? Is there any means I could place a standalone xforms:help element somewhere, say before or after the input boxes? Regards, Boon ----- Boon Low System Development Officer, UK National e-Science Centre -- 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
|
Hi Boon,
You could do something like: <xforms:repeat nodeset="etc"> <xforms:input ref="."> <xforms:setvalue ev:event="DOMFocusIn" ref="etc1">xx</xforms:setvalue> </xforms:input> <xforms:group ref=".[count(preceding-sibling::node) = 0]"> <xforms:output value="''"> <xforms:help>gaga</xforms:help> </xforms:output> </xforms:group> </xforms:repeat> The help here is not on the input anymore, but on a new output which is just displayed if we are in the first iteration. Alex On 5/19/06, Boon Low <[hidden email]> wrote: > > > Hi, > > > I would like to provide an xforms:help for a group of xforms:input elements using xforms:repeat: > > > <xforms:repeat nodeset="etc"> > <xforms:input ref="."> > <xforms:setvalue ev:event="DOMFocusIn" ref="etc1">xx</xforms:setvalue> > [<xforms:help>blah</xforms:help>] > </xforms:input> > </xforms:repeat> > > > xforms:help (and xforms:hint) can only appear within xforms:input, xforms:output. If I insert one within the input (as shown in bracket above), I would get something like this: > > > > > > How do I bind only one help element per group of repeated inputs? Is there any means I could place a standalone xforms:help element somewhere, say before or after the input boxes? > > > Regards, > > > Boon > > > > ----- > Boon Low > System Development Officer, > UK National e-Science Centre > http://homepages.ed.ac.uk/boon > http://wiki.nesc.ac.uk/read/egee-elearning > > > > -- > 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 > > > -- Blog (XML, Web apps, Open Source): 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
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |