Hi All (and Dario),
How am I supposed to access the value of a field on
the form from within the java code if it is not in a
form post?
I find it hard to believe that when Tapestry persists
the state of a page it does not attach it to an
instance of a page. This makes supporting backing a
real pain and basically my responsibility.
Do I have this right.
This is expected behavior. If your parameters are
persisted, then they
will have the last value they were set to, regarding
of how many
"backs" you perform.
You need to use Hidden fields to avoid this.
On 8/10/05, Edward Scanzano <[EMAIL PROTECTED]>
wrote:
> Hi all,
>
> I have a page when have a number of components that
> are passed parameters which are persisted in the
page.
> This page has an initialization method this is
called
> as follows.
>
> CWorkspace page = (CWorkspace)
> cycle.getPage("CWorkspace");
> page.setup((Container)item,null);
>
> So far, no problem.
>
> The user then performs a click with in one of these
> components and the same page is called on this time
> with a new object passed to the setup method.
>
> So far, no problem.
>
> Now, I back on the browser to the first page and
when
> I click on another link, the components are seeing
the
> data passed to them from the second page. It is as
if
> the page did not have its persistant variables reset
> for page 1. They remain for page 2.
>
> What is causing this and how should I fix it.
>
> Thanks
> E
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]