You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Taha Hafeez <ta...@gmail.com> on 2010/11/13 15:12:45 UTC

Grid & Back button

Hi

When using Grid, if we sort or navigate to different pages, the back button
functionality is lost. This is because of @Persist
we use on current page and sorting. Is it an intentional behavior or
compulsive ?

regards
Taha

Re: Grid & Back button

Posted by Taha Hafeez <ta...@gmail.com>.
Thanks

regards
Taha

On Tue, Nov 16, 2010 at 7:41 AM, Thiago H. de Paula Figueiredo <
thiagohp@gmail.com> wrote:

> On Mon, 15 Nov 2010 23:09:57 -0200, Taha Hafeez <ta...@gmail.com>
> wrote:
>
>  Can i do that in case of a Grid or do I have to roll by own ?? Please
>> elaborate
>>
>
> Don't use @Persist in your pages to keep current page and sorting. Use the
> page activation context or query parameters for that.
>
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
> and instructor
> Owner, Ars Machina Tecnologia da Informação Ltda.
> http://www.arsmachina.com.br
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

Re: Grid & Back button

Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
On Mon, 15 Nov 2010 23:09:57 -0200, Taha Hafeez <ta...@gmail.com>  
wrote:

> Can i do that in case of a Grid or do I have to roll by own ?? Please
> elaborate

Don't use @Persist in your pages to keep current page and sorting. Use the  
page activation context or query parameters for that.

-- 
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Grid & Back button

Posted by Taha Hafeez <ta...@gmail.com>.
Can i do that in case of a Grid or do I have to roll by own ?? Please
elaborate

regards
Taha


On Tue, Nov 16, 2010 at 6:30 AM, Thiago H. de Paula Figueiredo <
thiagohp@gmail.com> wrote:

> On Sat, 13 Nov 2010 12:12:45 -0200, Taha Hafeez <ta...@gmail.com>
> wrote:
>
>  Hi
>>
>
> Hi!
>
>  When using Grid, if we sort or navigate to different pages, the back
>> button functionality is lost. This is because of @Persist
>> we use on current page and sorting. Is it an intentional behavior or
>> compulsive ?
>>
>
> This is a result of using @Persist. Use the page activation context or
> query parameters instead.
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
> and instructor
> Owner, Ars Machina Tecnologia da Informação Ltda.
> http://www.arsmachina.com.br
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

Re: Grid & Back button

Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
On Sat, 13 Nov 2010 12:12:45 -0200, Taha Hafeez <ta...@gmail.com>  
wrote:

> Hi

Hi!

> When using Grid, if we sort or navigate to different pages, the back  
> button functionality is lost. This is because of @Persist
> we use on current page and sorting. Is it an intentional behavior or
> compulsive ?

This is a result of using @Persist. Use the page activation context or  
query parameters instead.

-- 
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org