ello,

The way Orion handles JavaScript codes in JSP files is totally wrong. The
following lines in a <script> block in my JSP file:
document.writeln("<a class='toolbar' href='reply.jsp?action=reply' target
='msgform'");
document.writeln("  onMouseOver=\"document.images['reply'].src
='images/reply16.gif'; self.status='Reply to sender'; return true\"");
document.writeln("  onMouseOut=\"document.images['reply'].src
='images/reply16bw.gif'; self.status=''; return true\"");
document.writeln("  >");

... got translated into this:
document.writeln("<a onMouseOut="\"document.images['reply'].src
='images/reply16bw.gif';" self.status="" onMouseOver="\"document.images
['reply'].src='images/reply16.gif';" class="toolbar" target="msgform" href
="reply.jsp?action=reply" "); document.writeln(" ; return true\"");
document.writeln(" ; return true\""); document.writeln(">");

which is totally wrong! It works fine in Tomcat.

Is this a bug or is there a work around?

cheers
romen

IT Architect, Business And Data Services
IBM GSA
TEL: 612-84484716
FAX: 612-84484008
TIE: 84716


Reply via email to