Thank you Chris.

After I prepare CDATA block, the error was gone.
But my firebug pointed as below and dialog doesn't work.

missing ) after condition
 if (true && true) {\n

Anyway I think this is my homework.
I have to try a little.

thanks again!

Chris wrote:
> Ken,
> 
> You need to specify your script block as containing CDATA, like so:
> 
> <script type="text/javascript"><![CDATA[
> if(true && true) {
> alert("!!!");
> }
> ]]></script>
> 
> Tapestry treats templates as XML, and & is an invalid character unless
> processed as cdata.
> 
> chris

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

Reply via email to