click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob Schellink <sab...@gmail.com>
Subject Re: Multiple Radio control with same name.
Date Tue, 13 Jul 2010 09:23:40 GMT
On 13/07/2010 19:00, Finn Bock wrote:
> 
> I'm trying to add tests for the Radio control and noticed some inconsistencies.
> 
> 1) tab index not rendered

+1

> 2) help not rendered

+1

> 3) multiple Radio with the same name replaces each other in the parent
> containers.
> 
> Item 1 & 2 are trivial. I'll add it unless anyone can see a reason not to.
> Item 3 is a bit harder. On the one hand replacing the control is nice
> (due to CLK-666), on the other hand it is obviously wrong to do so for
> Radio controls where we want to have multiple controls with the same
> name.


Prior to CLK-666 the page (or parent container) threw an exception because two controls cannot
have
the same name, so CLK-666 haven't changed the behavior and is consistent with the rest of
the
framework. That is why radios have to be wrapped in a RadioGroup.

Kind regards

Bob

Mime
View raw message