Auto refreshing GridView ?

2007-09-12 Thread landry soules
Hello,

I display a list in a GridView.
I need that list to update automatically every x seconds.
I thought that adding an AjaxSelfUpdatingTimerBehavior to my GridView would
do the trick, but it doesn't work.
Any suggestion ?

Thanks for your answers.

Landry


Re: Auto refreshing GridView ?

2007-09-12 Thread Al Maw

Al Maw wrote:

landry soules wrote:

I display a list in a GridView.
I need that list to update automatically every x seconds.
I thought that adding an AjaxSelfUpdatingTimerBehavior to my GridView 
would

do the trick, but it doesn't work.


Doesn't work how?

Make sure you have called setOutputMarkupId(true) on the GridView.


Sorry, I haven't woken up yet today, evidently. ;)

See this page:
http://cwiki.apache.org/WICKET/how-to-repaint-a-listview-via-ajax.html

It equally well applies for GridView.

Regards,

Al
--
Alastair Maw
Wicket-biased blog at http://herebebeasties.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]