DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31365>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31365

Add initValue attribute to html:radio tags





------- Additional Comments From [EMAIL PROTECTED]  2004-09-25 18:45 -------
The problem is that the only way to communicate between two form beans would
appear to be through the JSP layer. Other methods of communication are possible
but probably conflict with the layer design pattern, i.e. that a layer only
communicates with those layers immediately next to it. The inability to set the
initial value of radio elements, unlike other html taglib elements, means that
some other method, other than the JSP layer, needs to be found.

The solutions you propose seem to be working against the struts framework rather
than with it.

>have the action that initially forwards to your jsp create and populate the
> form bean associated with the mapping for your subsequent actions and store
> it under that appropriate scope/name.

This would certainly work but it is duplicating the work of the Struts framework.

> using a Dyna ActionForm - specify an initial value in the struts-config.

The initial value in the example I gave is set by the user in a previous form so
would not work.

> using a POJO ActionForm - set the initial value when the forms instantiated.

Again, the initial value is dependent on the previous form's values.

> use the same ActionForm for both your initial and subsequent actions and
> initialize the property in your 'initial' action.

Would this work? Surely, the reset() method would be called before the
subsequent action is executed?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to