best thing would be to make timer behaviors initialize the timeout by inlining the script after the component reather then in a boay onload attr.

create an issue in jira, and a patch is welcome of course, look at ibehavior.rendered ()

-igor


On 11/2/06, James McLaughlin <[EMAIL PROTECTED]> wrote:
What's the best way to make this work? AbstractAjaxTimerBehavior sets itself up at first with a body onload modifier. Unfortunately, the component(s) I want to auto update are added via ajax. I see in respond(AjaxRequestTarget)  that the getJsTimeoutCall is appended to the target, but getJsTimeoutCall is protected. To make it even more difficult, the components I want to add SelfUpdatingBehavior to are nested a few levels deep inside the component being added, so I don't have direct access to the AjaxRequestTarget. If getJsTimeoutCall is made public, I suppose I could get access to the RequestTarget through RequestCycle.get().getRequestTarget(). Where would be the best place to do this: onBind() or another callback hook, or at instantiation?

thanks in advance,
jim

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to