You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sven Meier (JIRA)" <ji...@apache.org> on 2019/06/19 06:47:00 UTC
[jira] [Commented] (WICKET-6677) Deprecated
AjaxLazyLoadPanel#updateAjaxAttributes - WHY?
[ https://issues.apache.org/jira/browse/WICKET-6677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16867270#comment-16867270 ]
Sven Meier commented on WICKET-6677:
------------------------------------
All AjaxLazyLoadPanels share a single AbstractAjaxTimerBehavior now, which itself is added to the page and has no reference to the panel. So there's no direct lazy panel - or too many respectively - to delegate #updateAjaxAttributes() to.
You could use an AjaxRequestTarget.IListener to decorate these Ajax request globally instead.
Let me know whether that works for you.
> Deprecated AjaxLazyLoadPanel#updateAjaxAttributes - WHY?
> --------------------------------------------------------
>
> Key: WICKET-6677
> URL: https://issues.apache.org/jira/browse/WICKET-6677
> Project: Wicket
> Issue Type: Wish
> Components: wicket-extensions
> Affects Versions: 8.5.0
> Reporter: David Rain
> Priority: Major
> Labels: lazy, timer
>
> I cannot understand the reason why this method is no longer being called and is marked deprecated, i.e. to be removed.
> I can see that the implementation has been changed to use AbstractAjaxTimerBehavior. But updateAjaxAttributes could be called as it had been - from the timer upwards to the lazy panel.
> We use it quite often to decorate lazy load AJAX requests.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)