Hi Ted,

In your example for Struts beta2 you show that the collections of label
and value is initialized in the Action.

Is it better to perform this functionality in the ActionForm bean?

-Shakeel

Ted wrote:

> 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:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to