Re: [T4] Modifying RadioGroup

2008-02-05 Thread Jesse Kuhnert
Yeah the RadioGroup/Radio stuff enforces the containment pretty strictly currently - but as there is no actual notion of an actual RadioGroup element in html it may make sense to re-think this logic. An parameter referencing the RadioGroup to use for Radio options might make sense. It's too late t

Re: [T4] Modifying RadioGroup

2008-02-05 Thread Darío Vasconcelos
Hey, you're right, I didn't notice you were talking about merging visually two radio groups. Sorry. I think the easiest way to solve this might be some kind of HTML/CSS trick. If you really need the two RadioGroup2 options to the right, the trivial thing would be changing the layout of the table,

Re: [T4] Modifying RadioGroup

2008-02-05 Thread Andrew Ingram
Hi Dario, That only works if there's only one RadioGroup, the problem is that the first RadioGroup needs to refer only to the first column of Radios in the table, whilst the second needs to refer only to the second column. Since Radios have to be inside RadioGroups and RadioGroups can't be ne

Re: [T4] Modifying RadioGroup

2008-02-05 Thread Darío Vasconcelos
Hi Andrew, if you start the RadioGroup in an "invisible" spot, it will render correctly, as in or at least that's the case with lightly formatted tables... Regards, Dario On Feb 5, 2008 7:54 AM, Andrew Ingram <[EMAIL PROTECTED]> wrote: > I'm trying to use ra

[T4] Modifying RadioGroup

2008-02-05 Thread Andrew Ingram
I'm trying to use radio options in the following way: pseudo-html: 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 a