| Author |
paging methods (htmlDataTable)
|
Joe Shannow
Ranch Hand
Joined: Dec 01, 2010
Posts: 35
|
|
Hello,
I have some methods for paging h:dataTable (htmlDataTable binding) and several dataTables with different properties (PERSON - id, name, adress or PRODUCT - id, value, quantity, etc.).
The pagging methods are still the same, for example:
(same code in myPerson and myProduct class)
called from jsf:
but I'm not able to call them from one class.
When I use it from one dataTable (for example person) it works, but after changing a xhtml page (product), it doesn't.
It's looking for PERSON properties but I'm try to show PRODUCTS.
So I have to have all paging methods twice........
How can I use it from one class?
|
 |
 |
|
|
subject: paging methods (htmlDataTable)
|
|
|