-
FEATURED COMPONENTS
First time here? Check out the FAQ!
HI All
I am lokoking for a idea ,how to write common pagination component for my applicaition without specific to each object
can you guys tell how I am doing this with examples
Thanks
Daxter
Maybe you can customize a component with paging feature in macro component:
http://books.zkoss.org/wiki/ZK%20Developer's%20Reference/UI%20Composing/Macro%20Component
In the template of such macro component, you can attach a separated Paging component to control change page:
http://books.zkoss.org/wiki/ZK%20Component%20Reference/Supplementary/Paging
Thus, we don't need to specify paging for each instance of such custom component.
Asked: 2012-08-03 02:56:04 +0800
Seen: 99 times
Last updated: Sep 13 '12