Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.5.3, 1.7.2
-
Component/s: ICE-Components
-
Labels:None
-
Environment:Tomcat 5.5
Java 1.4.2
Jboss 4.2.0
-
Support Case References:
Description
When dynamically changing the rows attribute of the dataTable component (e.g. through a listbox to select the number of hits per page), the dataPaginator updates correctly, but the dataTable does not.
Scenario:
- the user paged to the end of a list of 199 items
- the number of hits per page is changed from (say) 10 to 100
- now, instead of displaying 99 items (the first 100 on the first page, 99 on the current page), the table only displays 9 items.
Not a big deal, but certainly not correct, or at least counter-intuitive.
Scenario:
- the user paged to the end of a list of 199 items
- the number of hits per page is changed from (say) 10 to 100
- now, instead of displaying 99 items (the first 100 on the first page, 99 on the current page), the table only displays 9 items.
Not a big deal, but certainly not correct, or at least counter-intuitive.
Activity
Karl Arsch
created issue -
Ken Fyten
made changes -
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 1.7.2 [ 10130 ] |
Ken Fyten
made changes -
Assignee | Ken Fyten [ ken.fyten ] |
Tyler Johnson
made changes -
Attachment | icefacessampleNoLibs.zip [ 11082 ] |
Tyler Johnson
made changes -
Support Case References | https://www.icesoft.ca:4443/supportilla/show_bug.cgi?id=4877 |
Ken Fyten
made changes -
Assignee Priority | P3 | |
Assignee | Ken Fyten [ ken.fyten ] | Adnan Durrani [ adnan.durrani ] |
Adnan Durrani
made changes -
Status | Open [ 1 ] | In Progress [ 3 ] |
Adnan Durrani
made changes -
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Resolution | Cannot Reproduce [ 5 ] |
Adnan Durrani
made changes -
Attachment | ICE-1545.jpg [ 11084 ] |
Adnan Durrani
made changes -
Attachment | ICE-1545.war [ 11085 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee Priority | P3 | |
Assignee | Adnan Durrani [ adnan.durrani ] |
Tyler Johnson
made changes -
Resolution | Cannot Reproduce [ 5 ] | |
Status | Closed [ 6 ] | Reopened [ 4 ] |
Assignee | Adnan Durrani [ adnan.durrani ] |
Tyler Johnson
made changes -
Attachment | ICE-1545b.war [ 11362 ] | |
Attachment | SC5235.doc [ 11363 ] |
Tyler Johnson
made changes -
Salesforce Case | [50070000007BSFu] |
Tyler Johnson
made changes -
Environment |
Tomcat 5.5 Java 1.4.2 |
Tomcat 5.5 Java 1.4.2 Jboss 4.2.0 |
Ken Fyten
made changes -
Fix Version/s | 1.8DR#3 [ 10143 ] | |
Fix Version/s | 1.7.2 [ 10130 ] | |
Affects Version/s | 1.7.2 [ 10130 ] |
Adnan Durrani
made changes -
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Invalid [ 6 ] |
Ken Fyten
made changes -
Assignee Priority | P1 |
Ken Fyten
made changes -
Resolution | Invalid [ 6 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #18123 | Wed Dec 31 05:25:21 MST 2008 | adnan.durrani | The change has been made so the "rows" attribute is changed dynamically, will automagically reset the first attribute to 0. |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/ext/HtmlDataTable.java
|
Adnan Durrani
made changes -
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Mandeep Hayher
made changes -
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #18289 | Wed Feb 04 12:05:24 MST 2009 | adnan.durrani | The first being set to 0 regard less of rows set by the UICommand or UIInput. related to |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/ext/HtmlDataTable.java
|
Adnan Durrani
made changes -
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Fix Version/s | 1.8 [ 10161 ] | |
Assignee Priority | P1 |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee | Adnan Durrani [ adnan.durrani ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #20927 | Wed Mar 10 22:46:55 MST 2010 | adnan.durrani | Fix for ICE-5383 (Regression: |
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 MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/datapaginator/DataPaginatorRenderer.java |
This actually becomes very annoying when the rows attribute is changed to a high enough value to display all the rows in the table, and the paginator's renderFacetsIfSinglePage is set to false. In this case, the paginator disappears completely, while the table is still only showing a subset of the total rows.
Even if renderFacetsIfSinglePage is set to true, the paginator buttons won't do anything once the number of pages is 1. So the user has to set the rows back down to some number that causes total pages to be > 1, flip to page one with the paginator, then set to the rows back up again.