ICEfaces
  1. ICEfaces
  2. ICE-7317

ace:dataExporter inside ui:Repeat issue

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1-Beta
    • Fix Version/s: 3.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Grimlock code rev# 25870, all major browsers (IE8, IE7, Firefox 6, Firefox 3.6, Gchrome14), tomcat6 server.
    • Assignee Priority:
      P1

      Description

      The ace:dataExporter does not function when it is placed inside an ui:Repeat.
      The "target" attribute of the ace:dataExporter is being used to identify the ace:dataTable containing the data to be exported, and this table is within the same form, but outside the ui:Repeat containing the dataExporter.
      When trying to export data, a Server Internal Error happens (screen shots attached), and the below error is thrown in the server log.

      4-Oct-2011 4:13:01 PM com.sun.faces.lifecycle.InvokeApplicationPhase execute
      WARNING: Cannot find component "carTable" in view.
      javax.faces.FacesException: Cannot find component "carTable" in view.
              at org.icefaces.ace.component.export.DataExporter.processAction(DataExpo
      rter.java:104)
              at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
              at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:
      769)
              at javax.faces.component.UICommand.broadcast(UICommand.java:300)
              at javax.faces.component.UIData.broadcast(UIData.java:1093)
              at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)

              at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1
      259)
              at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicat
      ionPhase.java:81)
              at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
              at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)

              at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:290)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:206)
      1. dataExporter-in-UI-Repeat.png
        105 kB
      2. IE7.png
        71 kB
      3. IE8.png
        216 kB

        Issue Links

          Activity

          Repository Revision Date User Message
          ICEsoft Public SVN Repository #27125 Tue Jan 10 08:39:22 MST 2012 art.zambrano ICE-7640 fixed problem by only showing one popup window if the export button is clicked multiple times; simplified popup messages; this fix also solves error mentioned in ICE-7317
          Files Changed
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/dataexporter/dataexporter.js
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/dataexporter/DataExporterRenderer.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #26844 Tue Dec 13 08:58:40 MST 2011 art.zambrano ICE-7545 fixed by using two different methods for finding the table; made sure this doesn't break ICE-7317
          Files Changed
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/dataexporter/DataExporter.java

            People

            • Assignee:
              Arturo Zambrano
              Reporter:
              Carmen Cristurean
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: