You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Andreas Andreou (JIRA)" <ta...@jakarta.apache.org> on 2006/04/21 22:05:06 UTC
[jira] Assigned: (TAPESTRY-842) @Script example appears to be wrong
[ http://issues.apache.org/jira/browse/TAPESTRY-842?page=all ]
Andreas Andreou reassigned TAPESTRY-842:
----------------------------------------
Assign To: Andreas Andreou
> @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
> Assignee: Andreas Andreou
>
> 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.
> one
> <script> should be the root element at the top of the file (ahead of the <input-symbol> and <let> items
> two
> in
> <body>
> function setFocus() {
> var inputField = ${componentObject.name};
> ...
> the var inputField should be
> ${componentObject}
> 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:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org