开发者

Wicket - need FilterForm ajax events for GoAndClear button events

开发者 https://www.devze.com 2023-01-11 03:02 出处:网络
I\'ve added a FilterForm with GoAndClear buttons to an AjaxFallbackDefaultDataTable.The filtering is working fine except for refreshing my table.I have a dropdown that changes the number of开发者_如何

I've added a FilterForm with GoAndClear buttons to an AjaxFallbackDefaultDataTable. The filtering is working fine except for refreshing my table. I have a dropdown that changes the number of开发者_如何学Go rows to show which does a target.addComponent(my AjaxFallbackDefaultDataTable) which doesn't reload the data but refreshes the. If I use this after I click a Go or Clear button then the table shows the proper rows, item count, and page links.

How can I handle Go and Clear clicks on my FilterForm to update my AjaxFallbackDefaultDataTable?


In the onsubmit method for the filter form just call .renderComponent() for the table.

0

精彩评论

暂无评论...
验证码 换一张
取 消