Yes, that will fix it. ** Martin
2010/4/5 [email protected] <[email protected]>: > My issue is not with a dropdownchoice itself, the dropdown functionality > works fine. its when i repaint the panel, the textfield loses its changed > values and reverts to the default model. > > Original Message: > ----------------- > From: Martin Makundi [email protected] > Date: Mon, 5 Apr 2010 20:08:27 +0300 > To: [email protected] > Subject: Re: saving datetextfield values on ajax refresh > > > In that case you need this: > > http://mail-archives.apache.org/mod_mbox/wicket-users/201001.mbox/%3C3031415 > [email protected]%3e > > 2010/4/5 [email protected] <[email protected]>: >> along with the datetextfield i have a dropdownchoice menu. the page > updates >> based on the item selected in the dropdown which updates a list menu. >> >> Original Message: >> ----------------- >> From: Martin Makundi [email protected] >> Date: Mon, 5 Apr 2010 18:40:15 +0300 >> To: [email protected] >> Subject: Re: saving datetextfield values on ajax refresh >> >> >> What initiates ajax-updating the page? What do you update? >> >> Few solutions: >> a) use listview.setreuseitems >> b) use a formcomponentreusemanager >> c) use an AjaxFormSubmittingChangeListenerBehavior >> >> ** >> Martin >> >> 2010/4/5 [email protected] <[email protected]>: >>> here's the scenario, i have a datetextfield that when the page gets >> updated >>> via ajax, the datatextfield values get reset and are no longer what they >>> changed to. >>> >>> i've tried adding an onchange behavior to the datefield to update the >>> modelobject when the field is changed but have had no luck. >>> >>> >>> anyone else had this problem? >>> >>> can you maybe give me a code snippet to work with? >>> >>> thanks >>> >>> -------------------------------------------------------------------- >>> mail2web.com – Enhanced email for the mobile individual based on >> Microsoft® >>> Exchange - http://link.mail2web.com/Personal/EnhancedEmail >>> >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> >> >> -------------------------------------------------------------------- >> mail2web.com – Enhanced email for the mobile individual based on > Microsoft® >> Exchange - http://link.mail2web.com/Personal/EnhancedEmail >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > > -------------------------------------------------------------------- > mail2web - Check your email from the web at > http://link.mail2web.com/mail2web > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
