struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralph Schaer" <sch...@ess.ch>
Subject more bugs
Date Mon, 12 Jun 2000 13:46:16 GMT
Hello

I've found some bugs.

RadioTag.java
Line 190 and 191 Writes two quote marks but only one needed
 190: StringBuffer results = new StringBuffer("<input type=\"radio\"");
 191: results.append("\" name=\"");
change line 191 : results.apend(" name=\"") solves the problem.


Same error in the source code for checkbox tag

CheckboxTag.java
167: StringBuffer results = new StringBuffer("<input type=\"checkbox\"");
168: results.append("\" name=\"");


Documentation tags.html
radio tag

The description about the name attribute says
"Name of this input field, and the name of the corresponding bean property
if value is not specified."
But the value attribute is required. You cannot write the tag without a
value attribute

"The corresponding bean property (if any) must be of type boolean. "
IMHO this is false. The property must be of type String.



Ralph







Mime
View raw message