-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
We would like to have a radio group defined in the following way..
<radiogroup id="rGroup">
<radio label="1"/>
<radio label="2"/>
<radio label="3"/>
<radio label="4"/>
<radio label="5"/>
</radiogroup>
The display of each radio of radiogroup should be in a different row of a table.
Would that be possible.. Any hits please.
Regards,
Raja Nagendra Kumar,
C.T.O
www.tejasoft.com
Yes, it is possible:
<radiogroup id="rGroup"> <grid> <rows> <row><radio label="1"/></row> <row><radio label="2"/></row> <row><radio label="3"/></row> <row><radio label="4"/></row> <row><radio label="5"/></row> </rows> </grid> </radiogroup>
Nice to see such a excellent support.
However the syntax used is not of good representation, grid is child tag of radio group has a misleading representation.
The more intutive and correct one would have been..
<radiogroup id="rGroup"/>
<grid>
<rows>
<row><radio parent="${rGroup}" label="1"/></row>
<row><radio parent="${rGroup}" label="2"/></row>
<row><radio parent="${rGroup}" label="3"/></row>
<row><radio parent="${rGroup}" label="4"/></row>
<row><radio parent="${rGroup}" label="5"/></row>
</rows>
</grid>
This is based on my understanding that it is radio tag which needs the UI and not radio group. Pl. correct in case my understanding is wrong.
Regards,
Raja Nagendra Kumar,
C.T.O
www.tejasoft.com
-Offshore Web 2.0 Excellence
Asked: 2009-07-21 06:12:46 +0800
Seen: 511 times
Last updated: Jul 24 '09