Hi

I have hit an interesting problem: basically I am trying to search for some 
records and display them in a list - simple stuff. The problem is that Tapestry 
uses a redirect-after-post design so I have to stick the search results in the 
session:

    @Persist("flash")
    private SearchResults results;

But now I'm getting LazyInitialization exceptions from hibernate because the 
results have been detached from the session. I guess I'm going to have to 
re-attach the object to the session inside my getResults() method but this 
seems like a bit of a hack.

Is there any way to tell T5 not to redirect after post? In this instance I 
don't mind duplicate form submissions

Thanks

Toby

Reply via email to