I'm trying to use radio options in the following way:

pseudo-html:

<tr>
<td><radiogroup1 option 1 /></td>
<td><radiogroup2 option 1 /></td>
</tr>
<tr>
<td><radiogroup1 option 2 /></td>
<td><radiogroup2 option 2 /></td>
</tr>

This doesn't work with Tapestry's RadioGroup component because there's no way of wrapping a RadioGroup around the related radio fields without wrapping the other.

I tried the obvious approach of overriding Radio to allow me to specify the RadioGroup to use as a parameter rather than requiring it to be nested. To do this I changed the first line of Radio's renderComponent to get a supplied RadioGroup rather than the one from the cycle.

This is the only change I made, but I get this error:

"Property 'rewinding' of [RadioGroup Instance] may only be accessed while the component is rendering."

Does anyone have any idea how I can solve this problem? I had expected it to be something quite easy to do and it's already taken far longer than I'd hoped.

Regards,
Andrew Ingram

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email ______________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to