Sorry,
I forgot to mention that the script is located under the /WEB-INF directory.
Thanks,
Amir
[EMAIL PROTECTED] wrote:
Hi,
I am new to Tapestry and I am having some problems with the Script component.
I get the an exception when I try to include a script.
Here is my .html:
...
...
And my .page:
...
Here is the excpetion:
org.apache.hivemind.ApplicationRuntimeExceptionUnable to parse script
context:/focus.script.location:context:/focus.script, line 4, column 61
1256 [input] 78function setupFocus() {9${component}.focus();
org.apache.tapestry.util.xml.DocumentParseExceptionUnable to parse
jndi:/localhost/ifd-dev/focus.script:
jakarta.apache.orglocation:context:/focus.script, line 4, column 61
1256 [input] 78function setupFocus() {9${component}.focus();
I am using Tapestry 4.0 beta 12.
Thanks,
Amir