your dropdown should call table.setcurrentpage(0) -igor
On Thu, Oct 14, 2010 at 10:20 AM, gouthamrv <goutha...@yahoo.com> wrote: > > I have found the problem, now it is working as expected. But I am seeing one > more issue with navigation bar message and numbers that it shows. > > First time when I load page, it shows "showing 1 to 10 of 50", now I clicked > next arrow link and it shows "showing 11 to 20 of 50". > > After this, I changed my drop down chioce to get another list from data > base. I am expecting that my table should display "showing 1 to 10 of 50", > but instead it is shows "showing 11 to 20 of 50" (this is the last display > message before changing drop down). > > When I log first and count numbers in my iterator(int first, int count) > method in SortableDataProvider, first number is not clearing out, it is > just carrying every time. > > How do I solve this problem? > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/How-to-update-a-Panel-when-user-selects-a-drop-down-chioce-in-Wicket-tp2994412p2995758.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org