You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Ilkemdk <xi...@gmail.com> on 2012/03/19 23:37:19 UTC

How to disable TinyMCE confirm dialog in Wicket?

The question is like this:
http://stackoverflow.com/questions/5705671/how-to-disable-tinymce-confirm-dialog
The confirmation is different for different browsers. For FF, it is "This
page is asking you to confirm that you want to leave - data you have entered
may not be saved Leave Page - Stay on Page"

window.onbeforeunload = function() {}; Seems can work with Javascript, but
how we do it in wicket?
Thank you! 

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-disable-TinyMCE-confirm-dialog-in-Wicket-tp4486793p4486793.html
Sent from the Users forum 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


Re: How to disable TinyMCE confirm dialog in Wicket?

Posted by Ilkemdk <xi...@gmail.com>.
Thank you for help.
I will test it later~

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-disable-TinyMCE-confirm-dialog-in-Wicket-tp4486793p4489099.html
Sent from the Users forum 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


Re: How to disable TinyMCE confirm dialog in Wicket?

Posted by Martin Grigorov <mg...@apache.org>.
Hi,

There is no default way how to do that in Wicket.
See how I did it for ModalWindow component (Wicket 6.0 only) at
http://git-wip-us.apache.org/repos/asf/wicket/repo?p=wicket.git;a=commitdiff;h=5a6cec68f3a84b5cdef530e6d69811dd0c77e65e

On Tue, Mar 20, 2012 at 12:37 AM, Ilkemdk <xi...@gmail.com> wrote:
> The question is like this:
> http://stackoverflow.com/questions/5705671/how-to-disable-tinymce-confirm-dialog
> The confirmation is different for different browsers. For FF, it is "This
> page is asking you to confirm that you want to leave - data you have entered
> may not be saved Leave Page - Stay on Page"
>
> window.onbeforeunload = function() {}; Seems can work with Javascript, but
> how we do it in wicket?
> Thank you!
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-disable-TinyMCE-confirm-dialog-in-Wicket-tp4486793p4486793.html
> Sent from the Users forum 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
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org