ICEfaces
  1. ICEfaces
  2. ICE-5043

Have the dataExporter use the converted value for the table cell values

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 1.8.2
    • Fix Version/s: None
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      All

      Description

      Currently the dataExporter exports the data that is in the the value attribute of the UIcolumn's child component. If the dataTable cell components use a converter to display information a certain way this converted value is not exported. Often the object reference is exported which does not have any useful information.

        Issue Links

          Activity

          Hide
          Arran Mccullough added a comment -

          Code for enhancement:

          com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.converterGetAsString(facesContext,
          uiComponent, ((UIOutput) uiComponent).getValue());

          That's what I'd put in the DataExporter, instead of it just getting the value from the child component. Probably goes in this method:

          private String encodeParentAndChildrenAsString(FacesContext fc,
          UIComponent uic, String str) {

          • Mark
          Show
          Arran Mccullough added a comment - Code for enhancement: com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.converterGetAsString(facesContext, uiComponent, ((UIOutput) uiComponent).getValue()); That's what I'd put in the DataExporter, instead of it just getting the value from the child component. Probably goes in this method: private String encodeParentAndChildrenAsString(FacesContext fc, UIComponent uic, String str) { Mark
          Hide
          Ken Fyten added a comment -

          Marking as Closed / Invalid as part of legacy ICEfaces ICE / Compat component JIRA cleanup.

          Note: This issue may be resolved in a newer ICEfaces release, available here: http://www.icesoft.org/java/downloads/icefaces-downloads.jsf

          If the issue persists with the current ICEfaces release, please create a new JIRA for it.

          Show
          Ken Fyten added a comment - Marking as Closed / Invalid as part of legacy ICEfaces ICE / Compat component JIRA cleanup. Note: This issue may be resolved in a newer ICEfaces release, available here: http://www.icesoft.org/java/downloads/icefaces-downloads.jsf If the issue persists with the current ICEfaces release, please create a new JIRA for it.

            People

            • Assignee:
              Unassigned
              Reporter:
              Arran Mccullough
            • Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: