You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by landry soules <la...@gmail.com> on 2007/09/12 16:42:16 UTC

Auto refreshing GridView ?

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 ?

Posted by Martijn Dashorst <ma...@gmail.com>.
I added a link to the faq.

Martijn

On 9/12/07, Al Maw <wi...@almaw.com> wrote:
> 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: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>


-- 
Buy Wicket in Action: http://manning.com/dashorst
Apache Wicket 1.3.0-beta3 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta3/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Auto refreshing GridView ?

Posted by Al Maw <wi...@almaw.com>.
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: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Auto refreshing GridView ?

Posted by Al Maw <wi...@almaw.com>.
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.

Regards,

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org