I have a problem while doing this...

I am using Wicket 1.2.6 and when I attempt to leave the page after modifying
the form, the alert pops up, but if I select Cancel, in order to remain in
the page, everything that had Ajax stops working, without any visible
errors.

Any ideas? Did anyone had the same problem?

This also happened to me without using the behaviour

On 10/2/07, JulianS <[EMAIL PROTECTED]> wrote:
>
>
> Thanks, this is a great tip.
>
> swaroop belur wrote:
> >
> > Have a look at this blog
> >
> http://www.jroller.com/karthikg/entry/modelling_client_side_form_modifications#comments
> >
> > Basically state of the form onload is compared to that of
> beforeonunload.
> > Just understand the concept and modify accordingly. Here the author
> tries
> > to
> > add a behavior to form's page in bind method of behavior. Not sure- but
> > the page
> > may be null at this point if form is not yet attched to page. Just
> modify
> > accd.
> >
> > -swaroop
> >
>
>
> -----
>
> Julian
>
> http://javathoughts.capesugarbird.com/ My blog about Wicket and other Java
> stuff
> --
> View this message in context:
> http://www.nabble.com/Prompting-a-User-to-Save-When-Leaving-a-Page-tf4549589.html#a13001983
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to