Details
-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: EE-3.3.0.GA_P07
-
Fix Version/s: EE-3.3.0.GA_P08
-
Component/s: Facelet Components
-
Labels:None
-
Environment:Windows Vista; Windows XP; Other
-
Support Case References:00014571
Description
We are using ice-cc:autoSortTable and in the footer section there is an extra blank space if no data available.
Kindly use the "c:if condition" not to show footer if no data which is used in the ICEFaces 1.8 version like below in the autoSortTable.xhtml with ICEFaces 3.3.0_P07 version and patch it for us include before two patches.
We don't want to show any unwanted white blank space
ICEFACES 1.8 GA - autoSortTable.xhtml
<c:if test="#{showDataPager and bean.pages > 1}">
<f:facet name="footer">
<ui:include src="_dataTableBottomControls.xhtml"/>
</f:facet>
</c:if>
ICEFACES 3.3.0_P07 - autoSortTable.xhtml
//Kindly inclue c:if condition and create patch for us
<f:facet name="footer">
<ice:panelGroup style="#{panelStyle}">
<ice-cc:dataPager forTable="#{id}" style="#{pagerStyle}"
renderDataPager="#{showDataPager and bean.pages gt 1}"
immediate="true" />
<ice:panelGroup style="float:right;"
rendered="#{showRowControls and empty rows}">
<ice:commandButton id="increaseRows#{id}"
actionListener="#{bean.increaseRows}" immediate="true"
image="#{commonConfig.imagesNoContext['plus']}"
title="#{icefMsgs['datatable.pager.rows.increase']}"
rendered="#{bean.displayedRows lt bean.data.rowCount}" />
<ice:commandButton id="decreaseRows#{id}"
actionListener="#{bean.decreaseRows}" immediate="true"
image="#{commonConfig.imagesNoContext['minus']}"
title="#{icefMsgs['datatable.pager.rows.increase']}"
rendered="#{bean.displayedRows gt 5 and bean.data.rowCount gt 5}" />
</ice:panelGroup>
</ice:panelGroup>
</f:facet>
Kindly use the "c:if condition" not to show footer if no data which is used in the ICEFaces 1.8 version like below in the autoSortTable.xhtml with ICEFaces 3.3.0_P07 version and patch it for us include before two patches.
We don't want to show any unwanted white blank space
ICEFACES 1.8 GA - autoSortTable.xhtml
<c:if test="#{showDataPager and bean.pages > 1}">
<f:facet name="footer">
<ui:include src="_dataTableBottomControls.xhtml"/>
</f:facet>
</c:if>
ICEFACES 3.3.0_P07 - autoSortTable.xhtml
//Kindly inclue c:if condition and create patch for us
<f:facet name="footer">
<ice:panelGroup style="#{panelStyle}">
<ice-cc:dataPager forTable="#{id}" style="#{pagerStyle}"
renderDataPager="#{showDataPager and bean.pages gt 1}"
immediate="true" />
<ice:panelGroup style="float:right;"
rendered="#{showRowControls and empty rows}">
<ice:commandButton id="increaseRows#{id}"
actionListener="#{bean.increaseRows}" immediate="true"
image="#{commonConfig.imagesNoContext['plus']}"
title="#{icefMsgs['datatable.pager.rows.increase']}"
rendered="#{bean.displayedRows lt bean.data.rowCount}" />
<ice:commandButton id="decreaseRows#{id}"
actionListener="#{bean.decreaseRows}" immediate="true"
image="#{commonConfig.imagesNoContext['minus']}"
title="#{icefMsgs['datatable.pager.rows.increase']}"
rendered="#{bean.displayedRows gt 5 and bean.data.rowCount gt 5}" />
</ice:panelGroup>
</ice:panelGroup>
</f:facet>
Activity
Sierra Mckinney
created issue -
Sierra Mckinney
made changes -
Field | Original Value | New Value |
---|---|---|
Priority | Major [ 3 ] | Minor [ 4 ] |
Ken Fyten
made changes -
Assignee | Arturo Zambrano [ artzambrano ] | |
Fix Version/s | EE-3.3.0.GA_P08 [ 13294 ] | |
Component/s | Facelet Components [ 10031 ] |
Arturo Zambrano
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
r56498: added conditional in ice-cc:autoSortTable to only show the footer if the table has rows
r56499: committed fix to customer's branch