AjaxUpdate FeedbackPanel And window.open popup
Hi! Is it possible to simultaneously AjaxUpdate FeedbackPanel And window.open popup ? I need to open a popup (external site) and simultaneously give instructions on feedback panel. Anyone done this before? ** Martin - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: AjaxUpdate FeedbackPanel And window.open popup
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. MartinM wrote: Hi! Is it possible to simultaneously AjaxUpdate FeedbackPanel And window.open popup ? I need to open a popup (external site) and simultaneously give instructions on feedback panel. Anyone done this before? ** Martin - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- View this message in context: http://www.nabble.com/AjaxUpdate-FeedbackPanel-And-window.open-popup-tp24452985p24453443.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
RE: AjaxUpdate FeedbackPanel And window.open popup
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; }};} Date: Mon, 13 Jul 2009 01:17:18 +0300 Subject: AjaxUpdate FeedbackPanel And window.open popup From: martin.maku...@koodaripalvelut.com To: users@wicket.apache.org Hi! Is it possible to simultaneously AjaxUpdate FeedbackPanel And window.open popup ? I need to open a popup (external site) and simultaneously give instructions on feedback panel. Anyone done this before? ** Martin - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org _ Windows Live™ SkyDrive™: Get 25 GB of free online storage. http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_SD_25GB_062009
Re: AjaxUpdate FeedbackPanel And window.open popup
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: http://www.mkyong.com/wicket/how-to-call-javscript-after-ajax-update-wicket/ Hope this is what you looking for. MartinM wrote: Hi! Is it possible to simultaneously AjaxUpdate FeedbackPanel And window.open popup ? I need to open a popup (external site) and simultaneously give instructions on feedback panel. Anyone done this before? ** Martin - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- View this message in context: http://www.nabble.com/AjaxUpdate-FeedbackPanel-And-window.open-popup-tp24452985p24453443.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 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org