[Wicket-user] Wicket goodie: Versioned form blog entry
Someone asked about how I did my optimistic locking form, so I took 15 minutes and wrote a short entry on my blog.http://www.jroller.com/page/dashorst?entry=wicket_goodie_hibernate_versioned_form Martijn-- Living a wicket life...Martijn Dashorst - http://www.jroller.com/page/dashorstWicket 1.1.1 is out: http://wicket.sourceforge.net/wicket-1.1
Re: [Wicket-user] Wicket goodie: Versioned form blog entry
Great, thank you. 2006/2/13, Martijn Dashorst [EMAIL PROTECTED]: Someone asked about how I did my optimistic locking form, so I took 15 minutes and wrote a short entry on my blog. http://www.jroller.com/page/dashorst?entry=wicket_goodie_hibernate_versioned_form Martijn-- Living a wicket life...Martijn Dashorst - http://www.jroller.com/page/dashorstWicket 1.1.1 is out: http://wicket.sourceforge.net/wicket-1.1
Re: [Wicket-user] Wicket goodie: Versioned form blog entry
nice but i do it already a little bid different.Because what we want is that person A alters field X and person B field Y then it may pass.(ok it can be that those 2 fields are related to each other but then a validator must handle that) The big trick we needed to fix was that a form input that is not changed by person A (but is submitted ofcourse) will not overwrite anything in the model object. So we now keep the string references of the rendered output and compare with that instead of with the real objects value to compare if the value is changed.johanOn 2/13/06, Martijn Dashorst [EMAIL PROTECTED] wrote: Someone asked about how I did my optimistic locking form, so I took 15 minutes and wrote a short entry on my blog. http://www.jroller.com/page/dashorst?entry=wicket_goodie_hibernate_versioned_form Martijn-- Living a wicket life...Martijn Dashorst - http://www.jroller.com/page/dashorstWicket 1.1.1 is out: http://wicket.sourceforge.net/wicket-1.1