JavaScript and RequireJS

2014-09-15 Thread sshaikh1970
I have the following script in my .tml page $.support.cors = true; $("#refBtn").click(function(){ var myurl = buildURL("${getLegacyUser()}", "${getLegacyCompany()}", "${getLegacyTranId()}") alert(myurl); $.ajax({ url : myurl, type : "GET", success: function(responseData, te

Request Filter

2014-09-07 Thread sshaikh1970
I am trying to figure out how to implement a RequestFilter such that when a session time out occurs, Tapestry can redirect user to my error page saying “Your session has timed out”. Here is my code, take from examples posted by Taha in the past public class RequireSessionFilter implements Com