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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to