You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2013/01/15 18:16:14 UTC

[jira] [Resolved] (WICKET-4980) AbstractAjaxTimerBehavior does nont work when added to a page

     [ https://issues.apache.org/jira/browse/WICKET-4980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-4980.
-------------------------------------

    Resolution: Duplicate
    
> AbstractAjaxTimerBehavior does nont work when added to a page
> -------------------------------------------------------------
>
>                 Key: WICKET-4980
>                 URL: https://issues.apache.org/jira/browse/WICKET-4980
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 6.4.0
>            Reporter: Jens Zastrow
>
> The AbstractAjaxTimerBehavior.shouldTrigger() asserts that the component it its attached to has a parent of type WebPage, which is always false if of the component is a page.
> private boolean shouldTrigger()
> {
>      return isStopped() == false &&
> 				isEnabled(getComponent()) &&
> 				getComponent().findParent(WebPage.class) != null;
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira