ICEfaces-EE
  1. ICEfaces-EE
  2. IPCK-567

Regarding - autoSortTable.xhtml c:if condition on footer if no data

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor 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>

        Activity

        Sierra Mckinney created issue -
        Sierra Mckinney made changes -
        Field Original Value New Value
        Priority Major [ 3 ] Minor [ 4 ]
        Ken Fyten made changes -
        Project ICEfaces [ 10021 ] ICEfaces-EE [ 10040 ]
        Key ICE-11483 IPCK-567
        Affects Version/s EE-3.3.0.GA_P07 [ 13119 ]
        Affects Version/s 1.8 [ 10161 ]
        Affects Version/s 3.3 [ 10370 ]
        Ken Fyten made changes -
        Assignee Arturo Zambrano [ artzambrano ]
        Fix Version/s EE-3.3.0.GA_P08 [ 13294 ]
        Component/s Facelet Components [ 10031 ]
        Hide
        Arturo Zambrano added a comment -

        r56498: added conditional in ice-cc:autoSortTable to only show the footer if the table has rows

        r56499: committed fix to customer's branch

        Show
        Arturo Zambrano added a comment - r56498: added conditional in ice-cc:autoSortTable to only show the footer if the table has rows r56499: committed fix to customer's branch
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Sierra Mckinney
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: