[ http://issues.apache.org/jira/browse/WICKET-36?page=all ]
Jim McLaughlin updated WICKET-36:
---------------------------------
Attachment: abstractajaxtimerbehaviorwithtest.patch
patch with fix and test as suggested by Igor
> append AjaxTimerBehavior script to component markup
> ---------------------------------------------------
>
> Key: WICKET-36
> URL: http://issues.apache.org/jira/browse/WICKET-36
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 1.2.3, 1.2.2, 1.2.4, 1.3, 2.0
> Reporter: Jim McLaughlin
> Priority: Minor
> Attachments: abstractajaxtimerbehaviorwithtest.patch
>
>
> AbstractAjaxTimerBehavior appends itself to the body onload attribute in
> renderHead. This does not work when the behavior is added to a component that
> is rendered by an AjaxRequestTarget. As suggested by Igor, this can be fixed
> by injecting the script directly into the response after the component has
> been rendered, in onComponentRendered
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira