RE: Replacing the contents of a table with ajax

2011-09-08 Thread Werner Riegel
true); > >//replace the panel of you page >getPage().replace(tp); //or getPage().replaceWith(tp); > > target.add(tp); > } > > Regards, > > Gabriel. > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com

Re: Replacing the contents of a table with ajax

2011-09-07 Thread Gabriel Landon
); //or getPage().replaceWith(tp); target.add(tp); } Regards, Gabriel. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Replacing-the-contents-of-a-table-with-ajax-tp3796223p3797361.html Sent from the Users forum mailing list archive at Nabble.com

RE: Replacing the contents of a table with ajax

2011-09-07 Thread Werner Riegel
Thanks for your reply. I've already done that, as described in my first mail, but it still doesn't work. > Date: Wed, 7 Sep 2011 16:37:39 +0200 > From: robert.dahlst...@ongame.com > To: users@wicket.apache.org > Subject: Re: Replacing the contents of a table with aj

Re: Replacing the contents of a table with ajax

2011-09-07 Thread Robert Dahlström
Usually, put a container around the table and update the container through ajax and not the table directly. /Robert On 09/07/2011 04:22 PM, Werner Riegel wrote: Hello, im trying to update the contents of a table, but it doesn't really work. I hope you guys can help me with that. My page lo

Replacing the contents of a table with ajax

2011-09-07 Thread Werner Riegel
Hello, im trying to update the contents of a table, but it doesn't really work. I hope you guys can help me with that. My page looks like the following: It has a Form, consisting of a drop down list + an ajaxbutton, and below the form is a table. After choosing an element from the list and pre