Issue Javascript command from Wicket

2010-09-09 Thread Watter
.nabble.com/Issue-Javascript-command-from-Wicket-tp2533439p2533439.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

Re: Issue Javascript command from Wicket

2010-09-09 Thread Michael O'Cleirigh
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

Re: Issue Javascript command from Wicket

2010-09-09 Thread Watter
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