Hi, I have a select control in my form which has got 3
items(checkboxes). I have the absolute positions of each checkboxes. Is there
any way by which I can control the position of checkboxes inside the select
control? Following xml shows a sample xml code which specifies the location of
the select control and each checkboxes within that. <checkgroup
sid="benefits"> <xforms:select
appearance="full" ref="benefits">
<xforms:label></xforms:label>
<xforms:item>
<xforms:label></xforms:label>
<xforms:value>be1</xforms:value>
<xforms:extension> à this tag specifies the
location of the checkbox relative to the select control
<itemlocation>
<y>7</y>
<x>6</x>
</itemlocation>
</xforms:extension>
</xforms:item>
<xforms:item>
<xforms:label></xforms:label>
<xforms:value>be2</xforms:value>
<xforms:extension> <itemlocation>
<x>26</x>
<y>7</y>
</itemlocation>
</xforms:extension>
</xforms:item>
<xforms:item> <xforms:label></xforms:label>
<xforms:value>be3</xforms:value>
<xforms:extension>
<itemlocation>
<x>48</x>
<y>7</y> </itemlocation>
</xforms:extension>
</xforms:item>
</xforms:select>
<itemlocation> à this represents the absolute position of the select control
<x>641</x>
<y>1</y>
<width>233</width>
<height>22</height>
</itemlocation>
<value></value> </checkgroup> I need to convert this xml to XHTML + XForms in such a way
that the checkboxes are positioned as specified in the above xml. Thanks in advance Jency -- 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 Jency,
I may be wrong, but currently, I fear that this is not possible save for writing a lot of JavaScript. However, we have the following feature planned, for which I just entered an RFE: http://forge.objectweb.org/tracker/index.php?func=detail&aid=307251&group_id=168&atid=350207 By using classes on the items instead, you could then specify the absolute position of the checkboxes. -Erik Jency Chackummoottil wrote: > Hi, > > > > I have a select control in my form which has got 3 items(checkboxes). I > have the absolute positions of each checkboxes. Is there any way by > which I can control the position of checkboxes inside the select > control? Following xml shows a sample xml code which specifies the > location of the select control and each checkboxes within that. > > > > <checkgroup sid="benefits"> > > > > <xforms:select appearance="full" ref="benefits"> > > <xforms:label></xforms:label> > > <xforms:item> > > <xforms:label></xforms:label> > > <xforms:value>be1</xforms:value> > > <xforms:extension> à this tag specifies the > location of the checkbox relative to the select control > > <itemlocation> > > <y>7</y> > > <x>6</x> > > </itemlocation> > > </xforms:extension> > > </xforms:item> > > <xforms:item> > > <xforms:label></xforms:label> > > <xforms:value>be2</xforms:value> > > <xforms:extension> > > <itemlocation> > > <x>26</x> > > <y>7</y> > > </itemlocation> > > </xforms:extension> > > </xforms:item> > > <xforms:item> > > <xforms:label></xforms:label> > > <xforms:value>be3</xforms:value> > > <xforms:extension> > > <itemlocation> > > <x>48</x> > > <y>7</y> > > </itemlocation> > > </xforms:extension> > > </xforms:item> > > > > </xforms:select> > > > > <itemlocation> à this represents the absolute position > of the select control > > <x>641</x> > > <y>1</y> > > <width>233</width> > > <height>22</height> > > </itemlocation> > > <value></value> > > </checkgroup> > > > > I need to convert this xml to XHTML + XForms in such a way that the > checkboxes are positioned as specified in the above xml. > > > > Thanks in advance > > Jency > > > -- Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ -- 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 |