Hi.
I faced the following problem in Tapestry 4.0:
In order to use freindly URLs, I added the following entries to web.xml :
Code:
  <servlet-mapping>
    <servlet-name>app</servlet-name>
    <url-pattern>*.html</url-pattern>
  </servlet-mapping>
  <servlet-mapping>
    <servlet-name>app</servlet-name>
    <url-pattern>*.direct</url-pattern>
  </servlet-mapping>
And created the following hivemind.xml file :
Code:
<module id="taplet" version="4.0.0" package="org.apache.tapestry.taplet.services">
<contribution configuration-id="tapestry.url.ServiceEncoders">
  <page-service-encoder id="page" extension="html" service="page"/>
<page-service-encoder id="direct" extension="direct" service="direct"/>
</contribution>   
</module>
My web application using JavaScript code generated by Tapestry (using Body).
When I used -ugly URLs- of Tapestry, JavaScript portion was working correctly, but when I had
enabled the friendly URLs, JavaScript code is no more working.
So what is the problem ?