You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Peter Parson (JIRA)" <ji...@apache.org> on 2013/01/17 10:10:12 UTC
[jira] [Created] (WICKET-4985) AbstractAjaxTimerBehavior does not
work when attached to a Page
Peter Parson created WICKET-4985:
------------------------------------
Summary: AbstractAjaxTimerBehavior does not work when attached to a Page
Key: WICKET-4985
URL: https://issues.apache.org/jira/browse/WICKET-4985
Project: Wicket
Issue Type: Bug
Components: wicket
Affects Versions: 6.4.0
Reporter: Peter Parson
Attachments: quickstart-ajax-timer-in-page.zip
AbstractAjaxTimerBehavior does not work when attached to a Page directly (as opposed to a Panel).
This is because shouldTrigger looks for a WebPage only in the components parents, not the component itself:
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