Thanks Marcus, I'm interested cause i'm really stuck with this problem ...
But i'm really surprised that Tapestry doesn't let us read the value before it updates it ...

Schulte Marcus wrote:

I've written a small component called @Watch for this.
It calls a given listener whenever a value is changed.
It uses a hidden field to submit the old value along with the new one.
If you're interested I could post the code.

-----Original Message-----
From: Stephane Decleire [mailto:[EMAIL PROTECTED]
Sent: Monday, May 29, 2006 4:11 PM
To: Tapestry users
Subject: Re: Retrieve the old value of a field in the form listener


Perhaps i took a wrong approach ...
In fact, i need to apply specific code if a particular field of my form has been updated and not in the other case. So i need to compare the old to the new value of this field but i can't find a way to get the old value after the form has benn submitted ...

Stephane Decleire wrote:

Hi all,

I need to get the old value of a form field in the listener of this form but i can't get this value before it's been updated
with the data
submitted by the client ...
Any idea is welcome !

--
Stéphane Decleire

05 56 57 99 20
06 63 78 69 06



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
Stéphane Decleire

05 56 57 99 20
06 63 78 69 06

Reply via email to