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] Created: (TAP5-684) Evaluating script element
Date Tue, 05 May 2009 14:34:30 GMT
Evaluating script element

                 Key: TAP5-684
                 URL: https://issues.apache.org/jira/browse/TAP5-684
             Project: Tapestry 5
          Issue Type: Bug
    Affects Versions:
            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)


<script type="text/javascript">
    function functionX() {
        var x = $$('input[field="x"]');
        if(x && x.size() > 0) {
            // Do something 

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

View raw message