Re: [T5.1] Remembering Search Parameter during Changing Page in Grid

2010-02-16 Thread Yohan Yudanara
Thanks a lot for the solution... It works.. On Wed, Feb 17, 2010 at 2:10 AM, Thiago H. de Paula Figueiredo wrote: > On Tue, 16 Feb 2010 03:42:30 -0200, Yohan Yudanara > wrote: > >> Hi.. > > Hi! > >> My question is: >> can I execute above scenario without persisting searchParam in Session ? > > U

Re: [T5.1] Remembering Search Parameter during Changing Page in Grid

2010-02-16 Thread Thiago H. de Paula Figueiredo
On Tue, 16 Feb 2010 03:42:30 -0200, Yohan Yudanara wrote: Hi.. Hi! My question is: can I execute above scenario without persisting searchParam in Session ? Use the search text as the page activation context. Something like: public void onActivate(String search) { searchParam =

Re: [T5.1] Remembering Search Parameter during Changing Page in Grid

2010-02-16 Thread Joost Schouten (ml)
Use the code below. It will not use a session and encode the value in your urls. Cheers, Joost private String searchTerm; @OnEvent(value = EventConstants.ACTIVATE) private void activate(String searchTerm) { this.searchTerm = searchTerm; } @OnEvent(value = EventConstants.PASSIVATE) private

Re: [T5.1] Remembering Search Parameter during Changing Page in Grid

2010-02-16 Thread Muhammad Mohsen
I'm no expert in tapestry and I'm not sure if I got your question right, but either ways I'll try to help. 1.try using use "@Persist" without specifying that it's a session scoped persistence. (assuming you are using tapestry 5) 2.refer to the "hilo" tutorial here on tapestry

[T5.1] Remembering Search Parameter during Changing Page in Grid

2010-02-15 Thread Yohan Yudanara
Hi.. I'd like to ask a question which seems to be basic question, but I can't find it on this mailing list archives and wiki. I have a page with textfield, "search" button, and grid to display search result: Let's say the search returned 60 rows, and the grid display the first 25 rows. If I c