Sumanth Dupuguntla wrote:
Hi all,

I'm using a script component , which was working fine with tapestry 4.0.2,
when I changed the jar files (Tapesrtry 4.1.5 jars(
tapestry-annotations-4.1.5.jar , tapestry-contrib-4.1.5.jar,
tapestry-framework-4.1.5.jar,  tapestry-portlet-4.1.5.jar and
ognl-2.7.2.jar) I'm getting null pointer exception at
org.apache.tapestry.html.Script.getParsedScript(Script.java:129).

I' have the script files and the component html files in WEB-INF/  .


context:/WEB-INF/EditAddress.html, line 47

   <span jwcid="@Script" script="EditAddress.script"

<...>

I had the same problem. I think it stopped working in 4.1. Did not have time to get to the bottom of the issue.

What worked for me was declaring scripts as assets (use context:/WEB-INF/EditAddress.script as the path) and using

 scriptAsset="asset:script"

binding instead of 'script' parameter.

D.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to