[Seaside] radio button and checked attribute

Avi Bryant avi@beta4.com
Wed, 29 May 2002 20:49:52 -0700 (PDT)


On Wed, 29 May 2002, Rob Whitfield wrote:

> Following causes error:
>
> <input type=radio checked name="@subgroup" value="bc">bc
>
> If I remove "checked" the error goes away.  Has anyone seen this
> problem?  Or am I doing something wrong here?

What kind of error does it cause?  Attaching the stack trace to a report
like that is very helpful.

By default, the input above will be bound to the 'subgroup' property of
your component.  If you want that radio button to start off checked,
initialize subgroup to 'bc' instead of putting the checked attribute in
yourself.

Still, it shouldn't actually cause a problem to have the checked attribute
there, it'll just be ignored.  So I'd like to see the walkback.