You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Kris Rasmussen <kr...@yahoo.com> on 2004/03/25 06:27:41 UTC

Re: Stale link only when running two sessions at once, why (more)?

I forgot to mention that the table component takes a "where" parameter to supply to a sql call, and in the problem page it is bound to a property in a custom form component that has hashtables for its fields. I suspect this is the problem.
 
If I am write (correct me if I'm not ;) then this shows how confusing tapestry can be sometimes. Without a rock solid idea of how ever bit of it works, you run into a lot of trouble. Maybe better documentation would help, but I think more can be done to make it easier to use.
 
Kris

Kris Rasmussen <kr...@yahoo.com> wrote:
I have a page that allows you to search for customers, then it display the results in a custom table component that I wrote. Once the results are displayed you can check which ones you wish to processes and click process. It all works fine until I open up two sessions and access the site. If in one session I search with one parameter and then in the other session I search with a different parameter(thus the displayed results are different) and then I try to process some of the results from the first session(by checking some of the results and clicking process) I get a stale link error thats says the following:

Rewind of form Manage_Customers/listForm expected allocated id #4 to be '$Checkbox$2', but was 'checkAll' (requested by component Manage_Customers/checkAll). 

This does not happen if in the second session I search with the same parameter, so obviously the search in the second session is somehow influencing the form/table results in the new session, but why?

I realize that the two sessions are probably sharing the same page from the page pool but I can't see how this could cause this error.

Thanks,
Kris




---------------------------------
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.

---------------------------------
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.