Hi Ludwig

Am I right you are always using the same page for your refinement selection? Or 
is it more like a wizzard containing multiple pages?

For the first I wonder if this is really a T5 problem.. Can't you just use a 
stack like object and push/pop the values you need to create/recreate the 
activation context for your page (to store the selection a user made on each 
"continue")?

Jens

Sent from my iPhone

On 02.08.2012, at 01:46, George Ludwig <georgelud...@gmail.com> wrote:

> I'm building a page that iteratively refines a data set. After selecting
> filter criteria, they can either click Continue or Back.
> 
> The Continue part is no problem, it's working. But I want them to be able
> to click Back and return to the page with the state it had when they
> clicked Continue. Essentially, I want a backwards-facing linked list of
> pages.
> 
> My current implementation doesn't work, as it appears that each
> previousPage is the same object. What's the best way to do this?
> 
> Current implementation:
> 
> Before the next iteration of the page is loaded, I set it up:
> 
> @Persist
> 
> private Object previousPage;
> void setup(Object previousPage) {
>   this.previousPage=previousPage;
> }
> 
> Then when the user clicks back:
> 
>  Object onBack() {
> 
>   return previousPage;
> 
> }

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

Reply via email to