Hi Daniel,
On Tue, Apr 28, 2009 at 4:41 PM, Daniel Wagner <[email protected]>wrote:
> The terminate function is the right way to do it. Unfortunately there is
> a bug in qx 0.8.2[1] where it never gets called which has been fixed in
> trunk. Can you build your application against a trunk checkout?
Ah, trunk works fine!
Thanks for pointing me to that bug report.
Best regards,
Rui Lopes
>
>
>
> Regards,
> Daniel
>
>
> [1]http://bugzilla.qooxdoo.org/show_bug.cgi?id=1523
>
>
> Rui Lopes schrieb:
> > Hi,
> >
> > I'm trying to run a cleanup function when the browser window fires the
> > "unload" event. By the qooxdoo docs, I probably have to override the
> > "terminate" method using something like:
> >
> > qx.Class.define("example.Application", {
> > extend: qx.application.Standalone,
> >
> > members: {
> > ...
> > terminate: function() {
> > alert("bye");
> > this.base(arguments);
> > }
> > ...
> >
> > but this "terminate" function does not seem to be called at all. What is
> > the correct way of doing this?
> >
> >
> > TIA!
> >
> > Best regards,
> > Rui Lopes
> >
> > PS: Doing the "same" has normal HTML (<body onunload="alert('bye');">)
> > works fine.
> >
> > PS: I'm using FF 3.0.9 and qx 0.8.2.
> >
> >
> > ------------------------------------------------------------------------
> >
> >
> ------------------------------------------------------------------------------
> > Register Now & Save for Velocity, the Web Performance & Operations
> > Conference from O'Reilly Media. Velocity features a full day of
> > expert-led, hands-on workshops and two days of sessions from industry
> > leaders in dedicated Performance & Operations tracks. Use code vel09scf
> > and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > qooxdoo-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
>
> ------------------------------------------------------------------------------
> Register Now & Save for Velocity, the Web Performance & Operations
> Conference from O'Reilly Media. Velocity features a full day of
> expert-led, hands-on workshops and two days of sessions from industry
> leaders in dedicated Performance & Operations tracks. Use code vel09scf
> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel