ICEfaces
  1. ICEfaces
  2. ICE-8512

ace:dataExporter, in-line EL expressions aren't evaluated but exported verbatim

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.2
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Tomcat 7, Chrome, Firefox, IE

      Description

      When an EL expression is in-line (i.e. not as the value of an output component), it is not evaluated when exported, but the expression itself is exported. For example, the following markup will export the characters '#{row.id}' in the generated file, for every row:

                          <ace:column headerText="col1">
                              #{row.id}
                          </ace:column>

      The following markup will export the value obtained after evaluating the expression (e.g. 'id001').

                          <ace:column headerText="col1">
                              <h:outputText value="#{row.id}" />
                          </ace:column>

      The ace:dataExporter component needs to support in-line EL expressions as well.
      1. Case11558.rar
        16 kB
        Evgheni Sadovoi
      2. dynamicData.csv
        1 kB
        Evgheni Sadovoi
      3. dynamicData.pdf
        2 kB
        Evgheni Sadovoi

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #30911 Tue Sep 18 12:02:59 MDT 2012 art.zambrano ICE-8512 added fix to evaluate in-line EL expressions when exporting
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/dataexporter/Exporter.java

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Evgheni Sadovoi
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: