here is the patch in case cvs is down.
-Igor
Index: AjaxTimerBehavior.java
===================================================================
RCS file: /cvsroot/wicket/wicket/src/java/wicket/ajax/AjaxTimerBehavior.java,v
retrieving revision 1.5
diff -u -r1.5 AjaxTimerBehavior.java
--- AjaxTimerBehavior.java 3 Feb 2006 18:10:03 -0000 1.5
+++ AjaxTimerBehavior.java 6 Feb 2006 16:38:44 -0000
@@ -36,9 +36,9 @@
this.millis = millis;
}
- protected void onRenderHeadInitContribution(Response response)
+ protected void onRenderHeadContribution(Response response)
{
- super.onRenderHeadInitContribution (response);
+ super.onRenderHeadContribution(response);
getBodyContainer().addOnLoadModifier(getJsTimeoutCall(millis));
}
On 2/6/06,
Mark Derricutt <[EMAIL PROTECTED]> wrote:
On 2/6/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:everything is working here fine. try wicket-examples and see if ajax is broken there. i just tested and it works.
Ok, turns out that only the -first- AjaxSelfUpdatingTimerBehavior (or possibly any behavior?) is adding its _javascript_ call to setTimeout in the <body onload/>, I'd added another instance to my feedback panel so was seeing something "update" to nothing.
I've had a look around the code but I'm not exactly sure what/where I'm looking for this..
Mark
