I tried them, I can generate the modal Window. but the AjaxLink is not submit link for a form. I need to show the error message only if there is form processing error. Should I use AjaxSubmitLink instead? or do you have some examples similar to this condition?
cheers, :) Mo Newgro wrote: > > > Fkleinko wrote: >> >> To show the ModalWindow you need an AjaxRequestTarget. >> where do you get that from? >> > > AjaxLink theLinkThatWillShowTheModalWindowIfItsClicked = new AjaxLink(...) > { > public void onClick(AjaxRequestTarget target) { > myModalWindow.show(target); > } > } > > Please check the examples i gave you. It's all there. > > Cheers > Per > -- View this message in context: http://www.nabble.com/How-to-make-a-popup-page-for-exception-handling--tp21588129p21605575.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org