I'm trying to do my first bit of real programming using Tapestry. I have successfully made a page that implements a form and allows me to add records to a database via JDBC. I'm now working on a page that displays all the records and includes a "Delete" DirectLink to delete a record, using the record ID as the DirectLink parameter. I can't seem to get it to work. The form displays all the records correctly using a Foreach, but every time I click on the Delete links, I get a Stale Session page.
 
I have tried to work around this using the "stateful" parameter binding and setting this to "false," but it doesn't seem to have any effect.
 
Any suggestions for how to debug this? I haven't had to deal with Visit objects yet and haven't explicitly created any during my processing. I tried adding a "net.sf.tapestry.visit-class" parameter to the application, pointing this to java.lang.Object for now since I don't have any data to actually store. I still get the same behavior.
 
Thanks for any suggestions.
 
-- Dave Roberts
 

Reply via email to