Hello,
I've got a newbie question.
Is there any way to automatically display a modal window when a form on a
panel is submitted, and the outcome of the modal window is used to change
which page is displayed after the submit completes?

My first attempt as follows does not display the modal window

        final Form form = new Form("phoneConfigForm") {
            @Override
            protected void onSubmit() {

                AjaxRequestTarget target = new AjaxRequestTarget(getPage());
                selectModalWindow.show(target);
            }
        };

Cheers
David

Reply via email to