Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 3.0
-
Component/s: ACE-Components
-
Labels:None
-
Environment:All
-
Assignee Priority:P1
Description
-
Hide
- Case10413Example.war
- 9.30 MB
- Nils Lundquist
-
- META-INF/MANIFEST.MF 0.1 kB
- META-INF/context.xml 0.1 kB
- WEB-INF/classes/com/.../example/.DS_Store 6 kB
- WEB-INF/classes/com/.../example/Item.class 1 kB
- WEB-INF/classes/.../example/TestBean.class 3 kB
- WEB-INF/lib/commons-beanutils.jar 226 kB
- WEB-INF/lib/commons-collections.jar 558 kB
- WEB-INF/lib/commons-digester.jar 140 kB
- WEB-INF/lib/commons-logging.jar 52 kB
- WEB-INF/lib/icefaces-ace.jar 4.47 MB
- WEB-INF/lib/icefaces-compat.jar 2.29 MB
- WEB-INF/lib/icefaces.jar 231 kB
- WEB-INF/lib/jsf-api.jar 602 kB
- WEB-INF/lib/jsf-impl.jar 1.81 MB
- WEB-INF/web.xml 2 kB
- welcomeICEfaces.xhtml 2 kB
-
Hide
- Case10413Example.war
- 9.66 MB
- Arran Mccullough
-
- META-INF/MANIFEST.MF 0.1 kB
- META-INF/context.xml 0.1 kB
- WEB-INF/classes/com/.../example/Item.class 1 kB
- WEB-INF/classes/.../example/TestBean.class 3 kB
- WEB-INF/lib/commons-beanutils.jar 226 kB
- WEB-INF/lib/commons-collections.jar 558 kB
- WEB-INF/lib/commons-digester.jar 140 kB
- WEB-INF/lib/commons-logging.jar 52 kB
- WEB-INF/lib/icefaces-ace.jar 3.78 MB
- WEB-INF/lib/icefaces-compat.jar 2.29 MB
- WEB-INF/lib/icefaces.jar 230 kB
- WEB-INF/lib/jsf-api.jar 602 kB
- WEB-INF/lib/jsf-impl.jar 1.81 MB
- WEB-INF/web.xml 2 kB
- welcomeICEfaces.xhtml 2 kB
-
Hide
- Case10413Example.zip
- 18 kB
- Arran Mccullough
-
- Case10413Example/build.xml 3 kB
- Case10413Example/.../ant-deploy.xml 2 kB
- Case10413Example/.../build-impl.xml 59 kB
- Case10413Example/.../genfiles.properties 0.5 kB
- Case10413Example/.../private.properties 0.5 kB
- Case10413Example/.../project.properties 4 kB
- Case10413Example/nbproject/project.xml 2 kB
- Case10413Example/src/conf/MANIFEST.MF 0.0 kB
- Case10413Example/src/.../example/Item.java 1 kB
- Case10413Example/src/.../TestBean.java 2 kB
- Case10413Example/web/.../context.xml 0.1 kB
- Case10413Example/web/WEB-INF/web.xml 2 kB
- Case10413Example/.../welcomeICEfaces.xhtml 2 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
This issue results from a data table optimization that attempts to perform the least rendering possible in a partial component visit. In this case, it means that each individual output text is rendered with new contents rather than the table undergoing a rerender itself.
Normally this is desirable, but this handling will require modification to take into consideration changes in our per-row data model.
In the mean time this handling can be manually worked around by having a column contain an valueExpression as a text node. This is demonstrated in the attached altered war.
There is one issue with the workaround, it displays the class name and memory address into the column. Is there anything else required so it won't show this in the table?
a little plain HTML wrapping the EL text node with display:none style will hide the output:
<ace:column sortBy="#
{tableItem.itemThree}"><f:facet name="header">
<h:outputText value="Column Three" />
</f:facet>
<h:outputText value="#{tableItem.itemThree}
" />
<div style="display:none;">#
</div>
</ace:column>
Ah yes, thats much better. Thanks!
Fixed as a product of reduced customUpdate usage in the data table.
Resolved. Sorting is now refactored to work without customUpdates.
Expansion refactoring still in progress but could be released at this point since its updates don't effect the rest of the table.
Attached test case to reproduce issue. Test case can be deployed on Tomcat (http://localhost:8080/Case10413Example/welcomeICEfaces.jsf).
Steps to reproduce: