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 2002/11/22 17:17:24 UTC
DO NOT REPLY [Bug 14774] New: -
Extra line in HTML when using tag html:javascript.
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=14774>.
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=14774
Extra line in HTML when using tag html:javascript.
Summary: Extra line in HTML when using tag html:javascript.
Product: Struts
Version: 1.1 Beta 2
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: Custom Tags
AssignedTo: struts-dev@jakarta.apache.org
ReportedBy: yuli.gao@fmr.com
When we use tag 'javascript' in struts-html library in version 1.1-b2:
<html:javascript formName="logonForm"
dynamicJavascript="true"
staticJavascript="false"/>
an extra line is displayed in the HTML page
// End -->
We looked at source code and found that if we commented out one line in
method 'getJavascriptEnd()' of class JavascriptValidatorTag in package
org.apache.struts.taglib.html
...
sb.append("// End -->\n");
...
the extra line disappears. Does any people have the same experience and what
have been done?
Thanks
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>