-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thanks for the help - onActivate() at least looks better than all
ideas I had come up with. It still does not seem like an elegant,
intuitive solution to me.

- - Arno

Am 04.05.2012 21:27, schrieb Norman Franke:
> On May 4, 2012, at 12:52 PM, Thiago H. de Paula Figueiredo wrote:
> 
>> On Fri, 04 May 2012 12:31:26 -0300, Norman Franke
>> <[email protected]> wrote:
>> 
>>> Good question. I never came up with a good solution, either,
>>> without having two events. One can do onActivate(), but if you
>>> are doing something slow, like reading values from a database,
>>> I wouldn't recommend it. This is because onActivate is called
>>> to construct the URL in any referencing page.
>> 
>> I'm sorry for not having the time to check this with code now,
>> but I don't think this is correct. As far as I know, onActivate()
>> is only invoked when the page is requested. onPassivate() is
>> invoked every time you generate an event link inside the page.
> 
> 
> I did check, and in 5.3.3 it doesn't seem to anymore. I'm pretty
> sure it was in 5.1.x, but never really checked recently.
> 
> -Norman
> 
> 
> 
> ---------------------------------------------------------------------
>
> 
To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+kQ0kACgkQbmZsMyUPuXSzSACg0rSpTxVmz51gUk5twtOJdtGs
bVAAn3yfh0eH5Jw8re4HKDcujIO14QrU
=XX1y
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to