Re: [Wicket-user] Update ListView via AJAX

2007-01-02 Thread Igor Vaynberg
thanks august -igor On 1/2/07, August Detlefsen <[EMAIL PROTECTED]> wrote: Thanks again Igor that was just the ticket. I've updated the wicket wiki with an example: http://cwiki.apache.org/confluence/display/WICKET/How+to+repaint+a+ListView+via+Ajax -August Igor Vaynberg wrote: the lis

Re: [Wicket-user] Update ListView via AJAX

2007-01-02 Thread August Detlefsen
Thanks again Igor that was just the ticket. I've updated the wicket wiki with an example: http://cwiki.apache.org/confluence/display/WICKET/How+to+repaint+a+ListView+via+Ajax -August Igor Vaynberg wrote: the list did not refresh because you did not specify a model that can update itself acro

Re: [Wicket-user] Update ListView via AJAX

2006-12-31 Thread Igor Vaynberg
the list did not refresh because you did not specify a model that can update itself across requests on the listview. the listview should use a detachable model, try a LoadableDetachableModel -igor On 12/31/06, August Detlefsen <[EMAIL PROTECTED]> wrote: Actually, this approach did not work f

Re: [Wicket-user] Update ListView via AJAX

2006-12-31 Thread August Detlefsen
Actually, this approach did not work for me -The container updated every 5 seconds, but the list of items generated from the database never changed. After some digging through the wicket sources, I solved this by overriding the onAttach() method of WebMarkupContainer to remove the list and rege

Re: [Wicket-user] Update ListView via AJAX

2006-12-29 Thread Igor Vaynberg
before: add(new ListView("listview" after WebMarkupContainer container=new WebMarkupContainer("container"); container.setOutputMarkupId(true); contianer.add(new ListView("listview" ... -igor On 12/29/06, August Detlefsen <[EMAIL PROTECTED]> wrote: I've seen the Wiki entry that

[Wicket-user] Update ListView via AJAX

2006-12-29 Thread August Detlefsen
I've seen the Wiki entry that says: "You can't, you need to put it into a WebMarkupContainer and repaint that container instead." http://www.wicket-wiki.org.uk/wiki/index.php/ListView But does anyone have some example code illustrating this? Thanks, August