Re: AjaxUpdate FeedbackPanel And window.open popup

2009-07-12 Thread Juan Carlos Garcia M.
Hi, You can append a javascript to the AjaxRequestTarget something like: ajaxRequestTarget.add(myPanelToUpdate); ajaxRequestTarget.appendJavascript(alert('hello');); Check: http://www.mkyong.com/wicket/how-to-call-javscript-after-ajax-update-wicket/ Hope this is what you looking for.

RE: AjaxUpdate FeedbackPanel And window.open popup

2009-07-12 Thread Russell Simpkins
You could over-ride getAjaxCallDecorator() on your AjaxButton. e.g. protected IAjaxCallDecorator getAjaxCallDecorator() { return new AjaxCallDecorator() { public CharSequence decorateScript(CharSequence script) { return window.open('http://www.google.com','newwindow'); + script; }};}

Re: AjaxUpdate FeedbackPanel And window.open popup

2009-07-12 Thread Martin Makundi
Hi! What about PopupSettings, will I lose that? ** Martin 2009/7/13 Juan Carlos Garcia M. jcgarc...@gmail.com: Hi, You can append a javascript to the AjaxRequestTarget something like: ajaxRequestTarget.add(myPanelToUpdate); ajaxRequestTarget.appendJavascript(alert('hello');); Check: