Re: No redirect if current client url equals redirect url

2014-01-29 Thread Oleg Gulyaev
Yes, I found it, here it is: { "redirectURL" : "/comments/52e9f9e5e4b0ba0bb0273298/3?page=1#com" } On 30 янв. 2014 г., at 11:23, Lance Java wrote: > I want to see the response body which will be a json string. > On 30 Jan 2014 07:20, "Oleg Gulyaev" wrote: > On 29 янв. 2014 г., at 19:3

Re: No redirect if current client url equals redirect url

2014-01-29 Thread Lance Java
I want to see the response body which will be a json string. On 30 Jan 2014 07:20, "Oleg Gulyaev" wrote: > On 29 янв. 2014 г., at 19:37, Lance Java > wrote: > > Can you post the response body from the ajax request? (using dev tools in > your browser) > > > I wasn’t sure exactly what you need, s

Re: No redirect if current client url equals redirect url

2014-01-29 Thread Oleg Gulyaev
On 29 янв. 2014 г., at 20:31, Thiago H de Paula Figueiredo wrote: > That's weird, because if you return a Link in an event handler, no matter if > it's called by AJAX or not, it should cause a redirection. If not, check > whether some exception happened server- or client-side. I checked, no

Re: 5.4 Select component isn't resetting on page refresh.

2014-01-29 Thread George Christman
Thanks guys, I'll give it a shot and see if it resolves my issue. On Wed, Jan 29, 2014 at 6:39 AM, Lance Java wrote: > As bob said, this is a browser feature. You can disable it by adding the > following to the form or the select html elements. > >autocomplete="off" > -- George Christman

Re: Mixup with page resolution

2014-01-29 Thread Thiago H de Paula Figueiredo
On Wed, 29 Jan 2014 15:50:51 -0200, Mauricio Aldazosa wrote: Hi guys, Hi! We recently got into a little bit of trouble with Tapestry's URL shortening. We have a ComponentRequestFilter that restricts access to pages based on annotations placed on the pages classes. With the following s

Mixup with page resolution

2014-01-29 Thread Mauricio Aldazosa
Hi guys, We recently got into a little bit of trouble with Tapestry's URL shortening. We have a ComponentRequestFilter that restricts access to pages based on annotations placed on the pages classes. With the following setup, tapestry gets mixed up about the page annotations: 1. We have a pag

Re: No redirect if current client url equals redirect url

2014-01-29 Thread Thiago H de Paula Figueiredo
On Wed, 29 Jan 2014 13:01:35 -0200, Oleg Gulyaev wrote: Hi all! Hi! I return a link from an ajax event handler, which can refresh zone or redirect to some url. That's weird, because if you return a Link in an event handler, no matter if it's called by AJAX or not, it should cause a r

Re: No redirect if current client url equals redirect url

2014-01-29 Thread Lance Java
Can you post the response body from the ajax request? (using dev tools in your browser)

No redirect if current client url equals redirect url

2014-01-29 Thread Oleg Gulyaev
Hi all! I return a link from an ajax event handler, which can refresh zone or redirect to some url. In some situations, client get redirect url which equals his currently open page url, and Tapestry don’t redirect in this case (as I understood, this mechanism is somewhere in Tapestry .js core).

Re: 5.4 Select component isn't resetting on page refresh.

2014-01-29 Thread Lance Java
As bob said, this is a browser feature. You can disable it by adding the following to the form or the select html elements. autocomplete="off"

Re: 5.4 Select component isn't resetting on page refresh.

2014-01-29 Thread Bob Harner
George, If I understand your question correctly, you're just seeing standard browser refresh behavior there. F5 refreshes the page but retains all entered-but-not-submitted form values. To get the behavior you're looking for, try Control+F5. On Jan 21, 2014 11:40 AM, "George Christman" wrote: >