Kris wrote:
> Okaaay...if there's no html:form, why use html:radio? 
> How 'bout just doing something like:
> <input type="radio" name="key" value='<bean:write name="resView" 
> property="key"/>'>

'Cause... you didn't suggest it until now?  Seriously, THANKS!  I tend to
get a new toy and try to press ALL the buttons at once. ;)  As usual, I was
making it more complicated than necessary.  (I used double quotes rather
than your single ones... any reason you used single quotes?  It confuses the
syntax highlighting in my editor, but it does work.)

And this means... the same trick should work in the <form> tag to set the
action!  [Lunch interfered with trying that out.]

> You said you don't want any radio buttons initially selected, bit here's a

> snippet from the HTML 4.01 spec:
> <quote>
> Since user agent behavior differs, authors should ensure that in each set
of 
> radio buttons that one is initially "on".
> </quote>

Pfft.  Which invalidates my method above, unless I jump through some hoops
to do something on the first iteration but not on subsequent passes.  I
believe I'll just cross my fingers and let the browser handle it.  It's not
fatal if one of them *is* pre-selected, but what I was seeing before is
*all* of them pre-selected with checked="checked" in the HTML.  (The browser
was displaying the final button as selected.)

Many thanks for helping me hash this out.

-- 
Wendy Smoak
http://sourceforge.net/projects/unidbtags 

Reply via email to