You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/09/30 16:52:14 UTC
DO NOT REPLY [Bug 23522] New: -
errenous trim in doAfterBody of org.apache.struts.taglib.html.MultiboxTag
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23522>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23522
errenous trim in doAfterBody of org.apache.struts.taglib.html.MultiboxTag
Summary: errenous trim in doAfterBody of
org.apache.struts.taglib.html.MultiboxTag
Product: Struts
Version: 1.1 Final
Platform: All
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Custom Tags
AssignedTo: struts-dev@jakarta.apache.org
ReportedBy: jhbowling@yahoo.com
I have primary key values that contain spaces (perfectly valid for any
database), and the trim() in the doAfterBody method is removing the spaces,
rendering an invalid checkbox input value:
public int doAfterBody() throws JspException {
if (bodyContent != null)
this.constant = bodyContent.getString().trim();
if ("".equals(this.constant))
this.constant = null;
return (SKIP_BODY);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org