ICEfaces
  1. ICEfaces
  2. ICE-9503

ace:tableConfigPanel - Header value defined in a facet not displayed in panel

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA, EE-3.3.0.GA_P01
    • Fix Version/s: EE-3.3.0.GA_P01, 4.0.BETA, 4.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      All
    • Salesforce Case Reference:
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.)
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      duplicate the value used in the facet in the ace:column headerText value. For example:

                          <ace:column headerText="Item One">
                              <f:facet name="header">
                                  <h:outputText value="Item One"/>
                              </f:facet>
                              <h:outputText value="#{item.itemOne}"/>
                          </ace:column>
      Show
      duplicate the value used in the facet in the ace:column headerText value. For example:                     <ace:column headerText="Item One">                         <f:facet name="header">                             <h:outputText value="Item One"/>                         </f:facet>                         <h:outputText value="#{item.itemOne}"/>                     </ace:column>

      Description

      When defining a header by using the f:facet, the header value isn't displayed when opening the panel. Sample code:
                          <ace:column>
                              <f:facet name="header">
                                  <h:outputText value="Item One"/>
                              </f:facet>
                              <h:outputText value="#{item.itemOne}"/>
                          </ace:column>

        Activity

        Arran Mccullough created issue -
        Arran Mccullough made changes -
        Field Original Value New Value
        Salesforce Case Reference 5007000000Ucp0DAAR
        Hide
        Ken Fyten added a comment -

        Since it is not generally feasible to automatically derive a useful simple label for the column from a facet's sub-components (as there could be multiple components in the facet, of varying types, etc.), the behavior noted in this JIRA is considered correct.

        The recommended approach when using the header facet in conjunction with the ace:tableConfigPanel is to also define the "headerText" attribute on the ace:column, which will then be used to label the column within the ace:tableConfigPanel.

        The remaining task is to ensure that the documentation for ace:column clearly indicates this.

        Show
        Ken Fyten added a comment - Since it is not generally feasible to automatically derive a useful simple label for the column from a facet's sub-components (as there could be multiple components in the facet, of varying types, etc.), the behavior noted in this JIRA is considered correct. The recommended approach when using the header facet in conjunction with the ace:tableConfigPanel is to also define the "headerText" attribute on the ace:column, which will then be used to label the column within the ace:tableConfigPanel. The remaining task is to ensure that the documentation for ace:column clearly indicates this.
        Ken Fyten made changes -
        Assignee Ken Fyten [ ken.fyten ]
        Ken Fyten made changes -
        Fix Version/s EE-3.3.0.GA_P01 [ 11174 ]
        Fix Version/s 3.4 [ 10770 ]
        Priority Major [ 3 ] Minor [ 4 ]
        Affects Documentation (User Guide, Ref. Guide, etc.) [ 10003 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #37414 Wed Aug 14 14:56:00 MDT 2013 ken.fyten ICE-9503 - Added JavaDoc details for using headerText with facet header.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/column/ColumnMeta.java
        Hide
        Ken Fyten added a comment -

        Committed JavaDoc update for ace:column "headerText" property to indicate that the property should be provided even when using header facets for use by the ace:tableConfigPanel. Change committed to icefaces3/trunk and EE 3.3.0.GA_P01 tag.

        Also updated the public Wiki for ace:column: http://www.icesoft.org/wiki/display/ICE/Column.

        Show
        Ken Fyten added a comment - Committed JavaDoc update for ace:column "headerText" property to indicate that the property should be provided even when using header facets for use by the ace:tableConfigPanel. Change committed to icefaces3/trunk and EE 3.3.0.GA_P01 tag. Also updated the public Wiki for ace:column: http://www.icesoft.org/wiki/display/ICE/Column .
        Ken Fyten made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 4.0 [ 11382 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Ken Fyten
            Reporter:
            Arran Mccullough
          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: