You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Wayne Williams <WW...@courts.state.ny.us> on 2003/04/01 16:37:32 UTC
Stale Link
Hi. My name is Wayne Williams and I work for the NYS Unified Court System and we are developing our first tapestry application. So far we like it a lot.
I have a problem that I am sure you can assist me with. I have a page that has a direct link to another page which wants to update information in the db that appears on the previous page. Once updated, I try to return to the previous page and get the "stale link". I understand why I am getting it, but have tried a variety of things to alleviate it with no success. I am sure I am doing something fundamentally wrong.
Thanks,
Wayne Williams
wwilliam@courts.state.ny.us
Re: Stale Link
Posted by Stav <cc...@yahoo.com>.
Don't hold a reference to the previous page because
the templates themselves are cached.
Instead get the new page afresh and pre-populate it
with the updated data from your db.
The Workbench has an example of how tofeed data to new
page.
To be specific look at:
Palette.advance() in Palette.java
PaletteResults.java
Hope this helps.
Cheers.
--- Wayne Williams <WW...@courts.state.ny.us>
wrote:
> Hi. My name is Wayne Williams and I work for the
> NYS Unified Court System and we are developing our
> first tapestry application. So far we like it a
> lot.
>
> I have a problem that I am sure you can assist me
> with. I have a page that has a direct link to
> another page which wants to update information in
> the db that appears on the previous page. Once
> updated, I try to return to the previous page and
> get the "stale link". I understand why I am getting
> it, but have tried a variety of things to alleviate
> it with no success. I am sure I am doing something
> fundamentally wrong.
>
> Thanks,
>
> Wayne Williams
> wwilliam@courts.state.ny.us
>
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://platinum.yahoo.com