Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-1.8.2.GA_P03
-
Fix Version/s: 3.0.RC1, 3.0, EE-1.8.2.GA_P04
-
Component/s: ICE-Components
-
Labels:None
-
Environment:-
-
Assignee Priority:P2
-
Workaround Exists:Yes
-
Workaround Description:To change the number of displayed rows, have a commandButton whose actionListener calls goToFirstPage.
Description
The customer would like to programmatically navigate to the first page of the paginator when changing the number of displayed rows in the table. For example:
1. The table has 100 rows. Choose to display 20 rows. The paginator will show 5 pages of data.
2. Navigate to the 5th page.
3. Now change the number of rows to 5 which will fire a valueChangeListener. The data changes but even though goToFirstPage was called, you are still on the 5th page of that new data.
4. Select 5 rows, same thing.
Here is what I am observing server side:
1. Number of rows initially set to 20. Paginated to page 5.
PageIndex: 5
PageCount: 5
RowCount: 100
Rows: 20
2. Selected 5 rows to display
PageIndex: 5
PageCount: 20
RowCount: 100
Rows: 5
***** GoToFirstPage called *******
PageIndex: 1
PageCount: 20
RowCount: 100
Rows: 5
The paginator is stuck on page 5 even though the pageIndex is set to 1 in the paginator component.
1. The table has 100 rows. Choose to display 20 rows. The paginator will show 5 pages of data.
2. Navigate to the 5th page.
3. Now change the number of rows to 5 which will fire a valueChangeListener. The data changes but even though goToFirstPage was called, you are still on the 5th page of that new data.
4. Select 5 rows, same thing.
Here is what I am observing server side:
1. Number of rows initially set to 20. Paginated to page 5.
PageIndex: 5
PageCount: 5
RowCount: 100
Rows: 20
2. Selected 5 rows to display
PageIndex: 5
PageCount: 20
RowCount: 100
Rows: 5
***** GoToFirstPage called *******
PageIndex: 1
PageCount: 20
RowCount: 100
Rows: 5
The paginator is stuck on page 5 even though the pageIndex is set to 1 in the paginator component.
Activity
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Ken Fyten
made changes -
Fix Version/s | 3.0.RC1 [ 10300 ] |
Adnan Durrani
made changes -
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #26273 | Mon Nov 07 18:08:38 MST 2011 | adnan.durrani | Fix for |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/panelseries/UISeries.java
ADD /icefaces2/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/datapaginator/DataPaginatorGroup.java MODIFY /icefaces2/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/datapaginator/DataPaginator.java |
Adnan Durrani
made changes -
Fix Version/s | 2.1 [ 10241 ] |
Adnan Durrani
made changes -
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Adnan Durrani
made changes -
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Adnan Durrani
made changes -
Status | Open [ 1 ] | In Progress [ 3 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #26115 | Thu Oct 27 21:58:09 MDT 2011 | adnan.durrani | Fix for |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/datapaginator/DataPaginator.java
MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/panelseries/UISeries.java ADD /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/datapaginator/DataPaginatorGroup.java |
Tyler Johnson
made changes -
Workaround Description | To change the number of displayed rows, have a commandButton whose actionListener calls goToFirstPage. | |
Workaround Exists | [Yes] |
Tyler Johnson
made changes -
Description |
The customer would like to programmatically navigate to the first page of the paginator when changing the number of displayed rows in the table. For example: 1. The table has 100 rows. Choose to display 20 rows. The paginator will show 5 rows of data. 2. Navigate to the 5th row. 3. Now change the number of rows to 5 which will fire a valueChangeListener. The data changes but even though goToFirstPage was called, you are still on the 5th page of that new data. 4. Select 5 rows, same thing. Here is what I am observing server side: 1. Number of rows initially set to 20. Paginated to page 5. PageIndex: 5 PageCount: 5 RowCount: 100 Rows: 20 2. Selected 5 rows to display PageIndex: 5 PageCount: 20 RowCount: 100 Rows: 5 ***** GoToFirstPage called ******* PageIndex: 1 PageCount: 20 RowCount: 100 Rows: 5 The paginator is stuck on page 5 even though the pageIndex is set to 1 in the paginator component. |
The customer would like to programmatically navigate to the first page of the paginator when changing the number of displayed rows in the table. For example: 1. The table has 100 rows. Choose to display 20 rows. The paginator will show 5 pages of data. 2. Navigate to the 5th page. 3. Now change the number of rows to 5 which will fire a valueChangeListener. The data changes but even though goToFirstPage was called, you are still on the 5th page of that new data. 4. Select 5 rows, same thing. Here is what I am observing server side: 1. Number of rows initially set to 20. Paginated to page 5. PageIndex: 5 PageCount: 5 RowCount: 100 Rows: 20 2. Selected 5 rows to display PageIndex: 5 PageCount: 20 RowCount: 100 Rows: 5 ***** GoToFirstPage called ******* PageIndex: 1 PageCount: 20 RowCount: 100 Rows: 5 The paginator is stuck on page 5 even though the pageIndex is set to 1 in the paginator component. |
Ken Fyten
made changes -
Fix Version/s | EE-1.8.2.GA_P04 [ 10280 ] | |
Assignee Priority | P2 | |
Assignee | Adnan Durrani [ adnan.durrani ] |
Tyler Johnson
made changes -
Salesforce Case | [5007000000JLeIc] |
Tyler Johnson
made changes -
Field | Original Value | New Value |
---|---|---|
Attachment | sc10607.war [ 13694 ] |
Tyler Johnson
created issue -
Fix applied to ICEFaces2
Command: Commit
Modified: D:\work\development\head\svn\ossrepo\icefaces2\trunk\icefaces\compat\components\src\main\java\com\icesoft\faces\component\datapaginator\DataPaginator.java
Adding: D:\work\development\head\svn\ossrepo\icefaces2\trunk\icefaces\compat\components\src\main\java\com\icesoft\faces\component\datapaginator\DataPaginatorGroup.java
Modified: D:\work\development\head\svn\ossrepo\icefaces2\trunk\icefaces\compat\components\src\main\java\com\icesoft\faces\component\panelseries\UISeries.java
Sending content: D:\work\development\head\svn\ossrepo\icefaces2\trunk\icefaces\compat\components\src\main\java\com\icesoft\faces\component\panelseries\UISeries.java
Sending content: D:\work\development\head\svn\ossrepo\icefaces2\trunk\icefaces\compat\components\src\main\java\com\icesoft\faces\component\datapaginator\DataPaginatorGroup.java
Sending content: D:\work\development\head\svn\ossrepo\icefaces2\trunk\icefaces\compat\components\src\main\java\com\icesoft\faces\component\datapaginator\DataPaginator.java
Completed: At revision: 26273