Add ontributeIgnoredPathsFilter method to exclude dwr servlet calls from tapestry filters
public static void contributeIgnoredPathsFilter(Configuration
{
configuration.add("/dwr/.*");
}
Add init param activeReverseAjaxEnabled as true in web.xml
The web.xml entry should look like something similar shown below.
On the web page (.tml file) make sure you include the below java scripts
Last ,but not the least....make sure you add dwr.xml to WEB-INF folder and dwr.jar to the WEB-INF/lib folder.
Please let me know, if you still face any issues implementing DWR with Tapestry.
No comments:
Post a Comment