I know it causes an error and that's why I added the cdata attribute to the javascript tag post 1.1b3. You'll have to use a very recent nightly to get that change though. The cdata attribute is true by default so you have to set it to false.

Dave






From: "Raible, Matt" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
Subject: Struts 1.1b3, Validator Javascript and CDATA
Date: Mon, 20 Jan 2003 14:06:51 -0700

Is it possible in 1.1b3 to turn off the CDATA rendering in the following
javascript block?

<script type="text/javascript">
<![CDATA[

<!-- Begin

var bCancel = false;

function validateHSCRFMasterForm(form) {

if (bCancel)
return true;
else
return validateRequired(form);
}

function required () {
this.aa = new Array("title", "Title is required.", new Function
("varName", " return this[varName];"));
}


//End -->
]]>

</script>

I get an error in IE6 and and Mozilla 1.2 when it's there.

Thanks,

Matt


--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

_________________________________________________________________
The new MSN 8 is here: Try it free* for 2 months http://join.msn.com/?page=dept/dialup


--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to