Re: How to determine previous value in select after user change

2010-09-15 Thread vladimir.kovalyuk
As a user I would be surprized if my selection in drop down caused dialog opened. I would be surprized more if some values were not be possible to select. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-determine-previous-value-in-select-after-user-change

Re: How to determine previous value in select after user change

2010-09-14 Thread Jeremy Thomerson
On Fri, Aug 27, 2010 at 8:18 PM, Steve Mactaggart st...@whitesquaresoft.com wrote: That would work I guess, but I don't think it makes sense to build that logic into the dropdown, this is a function for the model, so I guess if there are no existing ways to do it i'll have to look at writing

Re: How to determine previous value in select after user change

2010-08-27 Thread Igor Vaynberg
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 st...@whitesquaresoft.com wrote: Hi All, I'm not sure if there is a wicket way to do this, or if I

Re: How to determine previous value in select after user change

2010-08-27 Thread Steve Mactaggart
That would work I guess, but I don't think it makes sense to build that logic into the dropdown, this is a function for the model, so I guess if there are no existing ways to do it i'll have to look at writing a ChangeTrackedModel or the like to wrap existing models in to manage the change. What

How to determine previous value in select after user change

2010-08-26 Thread Steve Mactaggart
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