Michael O'Cleirigh wrote: > > You can use the AjaxRequestTarget to emit javascript back to the > browser like this: > > target.prependJavascript("alert('sent from the server');"); > > Typically you would have placed the javascript method definitions into > the page so they would exist already in the browsers DOM and then you > would just emit specific calls to them in the action itself. > > e.g. > > target.prependJavascript("processCase("+case+");"); >
Thanks! I really should have known this as I've done something similar before. I don't know why I was drawing a blank on this. -Matt -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Issue-Javascript-command-from-Wicket-tp2533439p2533530.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