On Sun, Dec 2, 2018 at 10:22 PM Christopher Dodunski <
chrisfromtapes...@christopher.net.nz> wrote:

> After examining the application's log files I noticed that using the
> datepicker resulted in the dashboard page's onActivate() method being
> invoked.  This was unexpected.
>

I'm afraid this is actually expected. Any component event will trigger the
onActivate() method of its containing page, AJAX ones included. The page
should handle its activation context so it's properly initialized for this
request.


>     <a t:type="actionlink" async="true">...</a>
>

Suggestion: don't use ActionLink anymore. I'd consider it at least half
deprecated, with EventLink being the recommended one. ActionLink is
basically an EventLink in which the event name is always "action". Using
ActionLink itself isn't a bug at all. Just using something very vintage
with corresponding event handler methods with longer names.

-- 
Thiago

Reply via email to