:)
After instantiating your modal window. You can do something like this:
AjaxLink popupLink = new AjaxLink("manageWeightPop") {
@Override
public void onClick(AjaxRequestTarget target) {
*
target.appendJavascript("Wicket.Window.unloadConfirmation = f
Hello Nino Saturnino Martinez Vazquez Wael:
could you please provide a small example on this issue / solution. I think
about a similiar way of doin things and i don't want to ask the same question
as you in a month again
:-)
Thanks
Per
-
Ok.. Thanks, thought it was some setup thingy. And works fine now.
regards Nino
Ryan Gravener wrote:
You can set it as soon as the Wicket js object has been created. You
need to be using wicket 1.3.x for this to work and yes, you will need
to have it set before the onchange.
On Thu, Apr 3
You can set it as soon as the Wicket js object has been created. You
need to be using wicket 1.3.x for this to work and yes, you will need
to have it set before the onchange.
On Thu, Apr 3, 2008 at 11:00 AM, Nino Saturnino Martinez Vazquez Wael
<[EMAIL PROTECTED]> wrote:
> this did not do the tr
this did not do the trick in my onchange:
target.appendJavascript("Wicket.Window.unloadConfirmation = false;");
should it be prepended or when should it be append before the onchange
event in my dropdown? As a kind of setup, I guess?
Ryan Gravener wrote:
Yes,
append this java
Yes,
append this javascript in your ajax call:
Wicket.Window.unloadConfirmation = false;
On Thu, Apr 3, 2008 at 10:33 AM, Nino Saturnino Martinez Vazquez Wael
<[EMAIL PROTECTED]> wrote:
> Hi
>
> I have a modalwindow which contains a dropdown. I've attached an
> ajaxbehavior to the dropdown but w
Hi
I have a modalwindow which contains a dropdown. I've attached an
ajaxbehavior to the dropdown but when it fires I get a confirmation box
"are you sure you want to navigate away from this page"...
Is it supposed to work this way?
--
-Wicket for love
Nino Martinez Wael
Java Specialist @ Ja