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-28 15:39 -------
Ricardo wrote:
> I agree the above should be done, but I feel that it would still not resolve the
> user's reasonable expectation that, like other HTML taglib elements, the values
> of an html:radio tag can be initialised in the JSP view.

I'll concede that this is an asymmetry which might deserve attention, but I'm still 
concerned about the 
syntax, and I agree that the "radioGroup" wrapper element is not really a usable 
solution.

However, having an attribute whose value is only consulted when the underlying form 
bean's value is 
null is asymmetric in another way.  In other form elements, if you used JSP syntax to 
specify an initial 
value, that value would override any existing value in the form bean as well.

This is why I always come back to the issue of pre-filling the form bean values in 
non-validation 
situations.  JSP-level strategies for setting form values are incompatible with the 
way the html tags re-
fill values after validation.

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

Reply via email to