aspose file tools
The moose likes JSF and the fly likes paging methods (htmlDataTable) Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSF
Reply Bookmark "paging methods (htmlDataTable)" Watch "paging methods (htmlDataTable)" New topic
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?
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: paging methods (htmlDataTable)
 
Similar Threads
h:dataTable binding => duplicate ID
paging methods (htmlDataTable)
My binding with datatable give me null ate the backing bean, do i miss some thing
Using of nested Datatables
how to delete a row from a datatable?