AjaxButton submitButton = new AjaxButton("wid", form) {
public void onSubmit(AjaxRequestTarget target) {
// your logic here
targer.appendJavascript("showPopup(document.getElementById('myPopupId'))");
}
}
On Thu, 2010-07-01 at 17:21 +0100, Maris Orbidans wrote:
> Wicket experts,
>
> I have a form with Ajax submit button. Upon completing ajax request
> I want to show javascript popup with a message from server.
> How to do it ?
>
>
> Maris
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]