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 martin.maku...@koodaripalvelut.com
Date: Mon, 5 Apr 2010 20:08:27 +0300
To: users@wicket.apache.org
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
51001032147u239d89d7w26bf26b814296...@mail.gmail.com%3e

2010/4/5 wic...@geofflancaster.com <wic...@geofflancaster.com>:
> 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 martin.maku...@koodaripalvelut.com
> Date: Mon, 5 Apr 2010 18:40:15 +0300
> To: users@wicket.apache.org
> 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 wic...@geofflancaster.com <wic...@geofflancaster.com>:
>> 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: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>
>
> --------------------------------------------------------------------
> mail2web.com – Enhanced email for the mobile individual based on
Microsoft®
> Exchange - http://link.mail2web.com/Personal/EnhancedEmail
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



--------------------------------------------------------------------
mail2web - Check your email from the web at
http://link.mail2web.com/mail2web



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to