On a query page in my T5.1.0.5 app, I have a loop that is embedded in a form. The loop displays the query results in a table with a checkbox to allow the user to select a subset of the items. On one page, I keep getting database errors as Tapestry tries to restoreStateFromStoredClientValue since the object, which came from Hibernate, is not an object it can just query. It resulted from a query, and is a composite object. It tries to select from this non- existent table, which always fails. Since I re-populate the list in the onPrepare() call, I'm not sure why it's doing this. The volatile option is not use anywhere, and if I tried, I get a NPE anyway.

Even more, odd, if I hit the back button from the error page, then submit again, it works! Even odder, on another almost identical page, it works just fine.

I try to query the results set in onPrepare, but it dies before it even gets there.

Norman Franke
Answering Service for Directors, Inc.
www.myasd.com



Reply via email to