Hi,

In order to help you, you should show us the code you use for the 
MyTextFieldPanel class and the modal window content  (The PageCreator or the 
component you use).

Even better, try to do a quickstart.
https://wicket.apache.org/start/quickstart.html

François









Le 11 avr. 2016 à 22:47, durairaj t <durairaj....@gmail.com> a écrit :

> Class name replaced with the correct name in the code snippet;
> 
> .
> 
> 
> public class *MyTextFieldPanel *extends Panel
> 
> 
> modalShuttleWindow.setWindowClosedCallback(new
> ModalWindow.WindowClosedCallback() {
> 
> public void onClose(AjaxRequestTarget target) {
> 
> target.add(*MyTextFieldPanel.this*);
> 
> onWindowClose(target);
> 
> }
> 
> });
> 
> On Mon, Apr 11, 2016 at 4:42 PM, durairaj t <durairaj....@gmail.com> wrote:
> 
>> Hi,
>> 
>> 
>> 
>> I'm using "*new* ModalWindow.WindowClosedCallback(){}" to update the
>> modified value in a text field box by invoking the * target.add(*
>> *MyTextFieldPanel.this**)*, but it is always giving the old values.
>> 
>> 
>> I'm seeing only old values in *MyTextFieldPanel.this. *
>> 
>> 
>> Code snippet for a clear picture.
>> 
>> 
>> public class AimShuttleTextFieldPanel extends Panel
>> 
>> 
>> modalShuttleWindow.setWindowClosedCallback(new
>> ModalWindow.WindowClosedCallback() {
>> 
>> public void onClose(AjaxRequestTarget target) {
>> 
>> target.add(*MyTextFieldPanel.this*);
>> 
>> onWindowClose(target);
>> 
>> }
>> 
>> });
>> 
>> 
>> Any help?
>> 
>> 
>> 
>> Thanks,
>> 

Reply via email to