Re: Ajax SSL Tapestry 5.3

2016-03-13 Thread JumpStart
Yes, server-side, or "java side” as you said. Instead of changing ZoneUpdater.js, what I was recommending is to change ZoneUpdater.java. The code I posted sets up the listenerURI that is passed to the javascript in these examples: T5.3: http://jumpstart.doublenegative.com.au/jumpstart/

Re: Ajax SSL Tapestry 5.3

2016-03-10 Thread h3ph3st0s
Hi I am really amateur to this framework but I think this is the java side, right ?. Is it something that I can follow perhaps in the other question with SSL I had ? ( to turn on or off SSL on http request ? ) For this thread of mails the problem stands within the ZoneUpdater.js which is java

Re: Ajax SSL Tapestry 5.3

2016-03-09 Thread JumpStart
I think it would be better to figure this out server-side. Look at the request to see if it’s HTTPS, but allow override with a parameter to the mixin. /** * Set secure to true if https is being used, else set to false. If not provided then we set it to the value of * Re

Ajax SSL Tapestry 5.3

2016-03-09 Thread h3ph3st0s
Hi! In the ZoneUpdate.js I have is it ok that I inserted after this line of code : var listenerURIWithValue = this.listenerURI; the following : listenerURIWithValue=listenerURIWithValue.replace("http","https"); I mean, using 5.3 and Tapestry (not JQuery ) is this the right approach or is th