I have similar problem. Here is my script-block

        <script type="text/javascript">/* <![CDATA[ */
        var netscape;
        var clicked = false;
        var display_text = "Bitte gedulden Sie sich einen Moment. Ihre 
Eingabedaten werden überprüft..."
        var place;
        var meter;
        var out = " ";
        var place = 0;
        var inc = 1;

        document.LoginForm.javaEnabled.value=true;
        if (!navigator.javaEnabled()) {
                document.LoginForm.javaEnabled.value=false;
        }       

        // some more .....

         /* ]]> */</script>


Tapestry complains:

Tag <![CDATA[> on line 121 contains more than one 
'document.LoginForm.javaEnabled.value' attribute.


(It means the line inside the if-block)



Mit freundlichen Grüßen / Best regards
______________________________________________
Oleg Bondarenko
Software Engineer
 
GFT Technologies AG
 
Düsseldorfer Straße 13
D-65760 Eschborn
T +49-6196-969-2157
F +49-6196-969-1001
[EMAIL PROTECTED]
www.gft.com
______________________________________________
 

-----Ursprüngliche Nachricht-----
Von: Norbert Sándor [mailto:[EMAIL PROTECTED] 
Gesendet: Mittwoch, 24. Mai 2006 13:15
An: Tapestry users
Betreff: Re: Avoid template parsing

What about commenting out the javascript (<!-- js -->), or embedding it 
in a CDATA block (<![CDATA[ js ]]>)?

BR,
Norbi

Mário Lopes wrote:
> Is there any tag to avoid a certain block of code from being parsed on 
> a .html?
>
> I have some javascript on that file and it complains about things it 
> shouldn't.
>
> Regards.
>
> -- Mário
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>

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


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

Reply via email to