The paging.zip file attached contains four files which create the problem. The files modify the component showcase for 1.7.1 and can be installed by doing the following.
1) unzip icefaces src distribution to c:\
2) unzip the attached paging.zip file to c:\ which will overlay two files and add two additional files
3) build the src distribution
4) I deploy to jboss 4.0.5 so I do the following
- go to component showcase facelets directory
- ant common.clean
- ant jboss4.0
- copy the war file created to jboss deploy directory and start jboss
The files attached modify the Table - Row Selection example and change it to use the paging DataModel. A click of any row in the table causes the following to display in standard out for jboss:
14:25:38,824 INFO [STDOUT] fetch page entered
14:25:38,834 INFO [STDOUT] fetch page entered
14:25:38,834 INFO [STDOUT] fetch page entered
14:25:38,834 INFO [STDOUT] fetch page entered
14:25:38,834 INFO [STDOUT] fetch page entered
14:25:38,834 INFO [STDOUT] fetch page entered
14:25:38,834 INFO [STDOUT] fetch page entered
14:25:38,844 INFO [STDOUT] fetch page entered
14:25:38,844 INFO [STDOUT] fetch page entered
14:25:38,844 INFO [STDOUT] fetch page entered
14:25:38,844 INFO [STDOUT] fetch page entered
14:25:38,844 INFO [STDOUT] Select handler entered
I'm hoping the enhancement will eliminate the additional fetch page calls and simply cause only the select handler to fire.
The paging.zip file attached contains four files which create the problem. The files modify the component showcase for 1.7.1 and can be installed by doing the following.
1) unzip icefaces src distribution to c:\
2) unzip the attached paging.zip file to c:\ which will overlay two files and add two additional files
3) build the src distribution
4) I deploy to jboss 4.0.5 so I do the following
The files attached modify the Table - Row Selection example and change it to use the paging DataModel. A click of any row in the table causes the following to display in standard out for jboss:
14:25:38,824 INFO [STDOUT] fetch page entered
14:25:38,834 INFO [STDOUT] fetch page entered
14:25:38,834 INFO [STDOUT] fetch page entered
14:25:38,834 INFO [STDOUT] fetch page entered
14:25:38,834 INFO [STDOUT] fetch page entered
14:25:38,834 INFO [STDOUT] fetch page entered
14:25:38,834 INFO [STDOUT] fetch page entered
14:25:38,844 INFO [STDOUT] fetch page entered
14:25:38,844 INFO [STDOUT] fetch page entered
14:25:38,844 INFO [STDOUT] fetch page entered
14:25:38,844 INFO [STDOUT] fetch page entered
14:25:38,844 INFO [STDOUT] Select handler entered
I'm hoping the enhancement will eliminate the additional fetch page calls and simply cause only the select handler to fire.