Yes, this can be done with javascript. First of all you must decide which 
javascript library you want to use (scriptaculous/jQuery/etc.)
Then you need to load it in your <head> section (use some HeaderContributor 
class for this).
Now when you repaint yout list items with

        target.addComponent(item); 

you may alo append some custom javascript code like this

        target.prependJavascript(item.getMarkupId() + "...fadeout/hide/etc.");
        target.addComponent(item);
        target.appendJavascript(item.getMarkupId() + "...fadein/show/etc.");

Perhaps you need to set the items visibility to (style="display:none") and then 
in the appendHJavascript delete the display:none.

Stefan

-----Ursprüngliche Nachricht-----
Von: Ayodeji Aladejebi [mailto:[email protected]] 
Gesendet: Mittwoch, 31. März 2010 00:32
An: [email protected]
Betreff: Fading Content Updates Into a Ajax Refreshing ListView

I am trying to auto refresh a list but also allow the new list updates to
fade in one-by-one similar to these: http://foursquare.com/

I guess its a javascript affair but can I get some assistance as to the
approach to use in wicket

thanks

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

Reply via email to