Re: Trouble updating ListEditor with a detachable model

2016-04-12 Thread Francois Meillet
Do you use session.save(object) ? Should be session.saveOrUpdate(object) or session.update(object) François Le 11 avr. 2016 à 23:34, ChambreNoire <a...@tentelemed.com> a écrit : > Hi, > > I'm trying to use the ListEditor component from the Wicket in Action blog &

Trouble updating ListEditor with a detachable model

2016-04-11 Thread ChambreNoire
Hi, I'm trying to use the ListEditor component from the Wicket in Action blog (). I'm giving it a PropertyModel that points to "parent.children" where parent is a LDM that loads a 'parent' from the database. It displays properly however when I update the TextFields added to the ListIte

Listeditor

2009-11-30 Thread Steffen Dienst
Hello friendly folks, I'm experimenting with the ListEditor as introduced at http://wicketinaction.com/2008/10/building-a-listeditor-form-component/. After implementing a move up/down functionality (see http://gist.github.com/245506), I'm getting problems as soon as I add TextFields

Re: Listeditor

2009-11-30 Thread Igor Vaynberg
the point of the editor is that it is transactional. eg when you create it the first thing it does is copy the model list into its storage. if you edit the model before submitting the form the listeditor will not reflect these changes because it operates on the internal copy of the list... -igor