hello,

I've a question about using AjaxSelfUpdatingTimerBehavior and a
RepeatingView (or ListView).

I have a repeater, with AjaxSelfUpdatingTimerBehavior set on its parent, so
that it can update the list in the page with the latest list items that were
added (or removed) on the server side. This works just fine, as such.

However, instead of repainting the whole repeater with all its items, I
would like to only add newly added items. Sure I've seen
http://wicketinaction.com/2008/10/repainting-only-newly-created-repeater-items-via-ajax/
where it is achieved by scripting, and using target.prependJavascript(). But
that's in the context of an AjaxButton that has an
onSubmit(AjaxRequestTarget target, Form< ? > f) method -- so you actually
have a reference to the target to put your scripting to.

But in the case of using AjaxSelfUpdatingTimerBehavior, I have no clue how
to go about this. Is there some callback method in this case, similar to
AjaxButton.onSubmit(), that gives a reference to the target? 

Hopefully I made my question clear, and it's obvious and I just missed
something..

All help greatly appreciated,
kind regards
Heikki Doeleman




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Repeaters-and-AjaxSelfUpdatingTimerBehavior-tp4657456.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to