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=27239>. 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=27239 bug in <html:javascript> Summary: bug in <html:javascript> Product: Struts Version: Nightly Build Platform: PC OS/Version: Windows XP Status: NEW Severity: Normal Priority: Other Component: Validator Framework AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] <html:javascript> creates unnecessary <script> when dynamicJavascript="false" staticJavascript="true" (Nightly Build 2004/02/25) You can see the error in the struts-example web application. There is a staticJavascript.jsp page with this content <%@ page language="java" %> <%-- set document type to Javascript (addresses a bug in Netscape according to a web resource --%> <%@ page contentType="application/x-javascript" %> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <html:javascript dynamicJavascript="false" staticJavascript="true"/> and logon contains this line: <script language="Javascript1.1" src="staticJavascript.jsp"></script> Now the problem is that the html:javascript tag also writes the <script> tag into the output. <script type="text/javascript" language="Javascript1.1"> <!-- Begin ..... //End --> </script> The result is a javascript error in the browser. this bug was introduced with revision 1.45 from 2004/02/04 in JavascriptValidatorTag.renderJavascript revision 1.44 works --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
