You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ted Husted <hu...@apache.org> on 2002/11/21 11:31:27 UTC

[Struts Tip] #16 How to (not) check a radio button

Each radio button element requires an assigned value that 
distinguishes it from the other radio buttons. When creating a 
static array of radio buttons, you need to indicate which one of 
these, if any, is checked. This does not need to be done when the 
radio buttons are being populated from dynamic data. The control 
can compare itself to the form bean's property and then check 
itself when appropriate.

[more ... <http://husted.com/struts/tips/016.html>]




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>