tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pedro Januário (JIRA) <j...@apache.org>
Subject [jira] Closed: (TAP5-684) Evaluating script element
Date Tue, 05 May 2009 15:30:30 GMT

     [ https://issues.apache.org/jira/browse/TAP5-684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Pedro Januário closed TAP5-684.
-------------------------------

    Resolution: Won't Fix

> Evaluating script element
> -------------------------
>
>                 Key: TAP5-684
>                 URL: https://issues.apache.org/jira/browse/TAP5-684
>             Project: Tapestry 5
>          Issue Type: Bug
>    Affects Versions: 5.1.0.4
>            Reporter: Pedro Januário
>
> Occurs one exception, if we use a javascript html element inside de tempate, and the
javascript contains the and operator (&&).
> Exception assembling root component of page X: Failure parsing template classpath:X.tml:
[com.ctc.wstx.exc.WstxLazyException] Unexpected character '&' (code 38) (expected a name
start character)
> Example:
> <script type="text/javascript">
>     function functionX() {
>         var x = $$('input[field="x"]');
>         if(x && x.size() > 0) {
>             // Do something 
>         }
>     }
> </script>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message