You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Martin Makundi <ma...@koodaripalvelut.com> on 2009/07/13 00:17:18 UTC
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-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
RE: AjaxUpdate FeedbackPanel And window.open popup
Posted by Russell Simpkins <ru...@hotmail.com>.
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.makundi@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-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@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
Posted by Martin Makundi <ma...@koodaripalvelut.com>.
Hi!
What about PopupSettings, will I lose that?
**
Martin
2009/7/13 Juan Carlos Garcia M. <jc...@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-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@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-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: AjaxUpdate FeedbackPanel And window.open popup
Posted by "Juan Carlos Garcia M." <jc...@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-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@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-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org