Try running your application with caching disabled.
If it works properly, then the likely culprit is that
you are not properly resetting instance variables in
your View page's detach() method.
For instance, if you have code that says:
private List cachedData;
public List getDatabaseData()
{
if (cachedData == null)
cachedData = readDataFromDatabase();
return cachedData;
}
Then you really need:
public void detach()
{
cachedData = null;
super.detach();
}
Your contract with Tapestry is that your detach() method
returns the page to its newly initialized state. This
is critical to allow scalability via pooling of the
pages.
--
[EMAIL PROTECTED]
http://tapestry.sf.net
> I have a page that lists all the records in a table and at the bottom of the
> page I have a button to add a new record that takes you to a new page with a
> form on it, and in the form submit on that page, after posting to the database,
> I call cycle.setPage("View") which returns it to the list of database records,
> but it does not update the display of the records and if I refresh, it simply
> reposts the form, what am I doing wrong??
>
>
> Adam Greene
> Team Leader
> ROMulin Group Inc
> Ph: (506) 863-1014
> Fax: (506) 854-6886
> http://www.romulin.com
>
>
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer