tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Chandler (JIRA)" <tapestry-...@jakarta.apache.org>
Subject [jira] Created: (TAPESTRY-842) @Script example appears to be wrong
Date Sun, 22 Jan 2006 10:47:43 GMT
@Script example appears to be wrong

         Key: TAPESTRY-842
         URL: http://issues.apache.org/jira/browse/TAPESTRY-842
     Project: Tapestry
        Type: Bug
  Components: Documentation  
    Versions: 4.0    
 Environment: linux, eclipse, 
    Reporter: Alan Chandler

The second example of the @Script component seems to be wrong (at least my attempts to use
a modified version of it failed).

Two problems. 

<script> should be the root element at the top of the file (ahead of the <input-symbol>
and <let> items


function setFocus() {
    var inputField = ${componentObject.name};
the var inputField should be
as name has already been resolved in the <let> element.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org

View raw message