Re: How can I get the DateView's size from the PagingNavigator's IPageable
Thanks! Do you mean I can only override PagingNavigator's constructor? public MyNavigator(String arg0, IPageable arg1, IDataProvider arg2) { super(arg0, arg1); System.out.println(arg2.size()); } Michael Sparer wrote: > > If you're using DataView try getDataProvider().size(); > > > Dreamltf wrote: >> >> I have a PagingNavigator with a DataView >> >> I found in the IPageable has only the following method >> >> int getCurrentPage(); >> void setCurrentPage(int page); >> int getPageCount(); >> >> How can I get the DateView's size ? >> >> thanks a lot! >> > > -- View this message in context: http://www.nabble.com/How-can-I-get-the-DateView%27s-size-from-the-PagingNavigator%27s-IPageable-tp17620391p17637365.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How can I get the DateView's size from the PagingNavigator's IPageable
If you're using DataView try getDataProvider().size(); Dreamltf wrote: > > I have a PagingNavigator with a DataView > > I found in the IPageable has only the following method > > int getCurrentPage(); > void setCurrentPage(int page); > int getPageCount(); > > How can I get the DateView's size ? > > thanks a lot! > - Michael Sparer http://talk-on-tech.blogspot.com -- View this message in context: http://www.nabble.com/How-can-I-get-the-DateView%27s-size-from-the-PagingNavigator%27s-IPageable-tp17620391p17621249.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How can I get the DateView's size from the PagingNavigator's IPageable
I have a PagingNavigator with a DataView I found in the IPageable has only the following method int getCurrentPage(); void setCurrentPage(int page); int getPageCount(); How can I get the DateView's size ? thanks a lot! -- View this message in context: http://www.nabble.com/How-can-I-get-the-DateView%27s-size-from-the-PagingNavigator%27s-IPageable-tp17620391p17620391.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]