class mydropdown extends dropdown {
private object last;
protected void updatemodel() {
last=getmodelobject();
super.updatemodel();
}
-igor
On Thu, Aug 26, 2010 at 6:39 PM, Steve Mactaggart
<[email protected]> wrote:
> Hi All,
>
> I'm not sure if there is a wicket way to do this, or if I have to mange the
> data myself, but we have a screen that has a select on it and need to detect
> the user changing the value.
> This is simply achieved with a AjaxFormComponentUpdatingBehavior, and works
> well.
>
> My problem is that by the time MY code gets executed, the component has
> updated the model with the newly selected option, thus losing the existing
> value.
>
> I'm guessing AjaxFormComponentUpdatingBehavior won't have any way to track
> this change, but is there any other behaviour I can use that allows me to
> see the change in value?
>
> I hope that makes sense, if not let me know and I'll post a simple example.
>
> Cheers,
> Steve
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]