Re: adding javascript to response
If you have an AjaxSubmitLink you can do the following public void onSubmit( AjaxRequestTarget target, Form form ){ target.appendJavascript( alert( 'hi!' ); ); } -- View this message in context: http://www.nabble.com/adding-javascript-to-response-tp23187923p23197512.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
adding javascript to response
Hi, I'm new here to wicket. I'm trying to add a javascrip code to the response after processing a form. public void onSubmit() { //do something //add javascript code in the response to be processed by the browse? } What the best aproach to achieve this?