Re: button click and Form with CompoundPropertyModel lose its data

2008-12-01 Thread Edvin Syse
text: http://www.nabble.com/button-click-and-Form-with-CompoundPropertyModel-lose-its-data-tp20767616p20767616.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

Re: button click and Form with CompoundPropertyModel lose its data

2008-12-01 Thread Igor Vaynberg
ng the page again so all the data that I enter > is lost. > > Same problem occur when I edit poll and before saving it I press on one of > the other buttons. It is rendering the page again so all the data that I > change is lost. > > Any idea will be appreciate. > > Th

Re: button click and Form with CompoundPropertyModel lose its data

2008-12-01 Thread Edvin Syse
If you create a new Poll object, there is no magic that will bind that to your form instead of the Poll object you wrapped in the CompoundPropertyModel. You could put the poll object as a local field member in the class, and use PropertyModel(poll, "property-expression") for the fields instead

button click and Form with CompoundPropertyModel lose its data

2008-12-01 Thread itayh
buttons. It is rendering the page again so all the data that I change is lost. Any idea will be appreciate. Thanks, Itay -- View this message in context: http://www.nabble.com/button-click-and-Form-with-CompoundPropertyModel-lose-its-data-tp20767616p20767616.html Sent from the Wicket - User