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 <[email protected]> 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,
>