Hi,

It seems you use ModalWindow backed by a Page, i.e. you use ModalWindow's
PageCreator.
Try with ModalWindow backed by a Panel (ModalWindow#setContent()).

On Thu, Mar 7, 2019 at 9:57 AM kyc <brend...@hku.hk> wrote:

> Hi Bas,
>
> Thanks for your reply.
>
> Since we are saving data in the page of Modal Page itself, it is no
> problem.
> However,  we have problem to close that modalwindow with a separate close
> button.
> Even I change the form to StatelessForm, the close button still have the
> PageExpiredException
>
>                         addOrReplace(new AjaxLink<T>("btnClose") {
>                                 private static final long serialVersionUID
> = -8174543450190822811L;
>
>                                 @Override
>                     public void onClick(AjaxRequestTarget target) {
>                         window.close(target);
>                     }
>                 });
>
> KYC
>
>
>
>
>
> --
> Sent from:
> http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to