ICEfaces
  1. ICEfaces
  2. ICE-3711

ice:outputResource within a dataTable doesn't work

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.2
    • Fix Version/s: 1.8DR#2, 1.8
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      ICEfaces 1.7.2
      Build number: 17
      Revision: 17749
      JSF 1.1
      Apache Tomcat 6

      Description

      Whenever you'll try to download a file (defined by the ice:outputResource component) out of a data table list, you'll get always the same file. It is always the last file out of the given list.

      <ice:dataTable border="1" var="item" value="#{myBean.dataList}">
        <ice:column>
        <f:facet name="header">
        <ice:outputText value="Resource" />
        </f:facet>
        <ice:outputResource shared="false" fileName="#{item.fileName}" resource="#{item.fileResource}" />
        </ice:column>
       </ice:dataTable>

        Issue Links

          Activity

          Patrick Dobler created issue -
          Hide
          Patrick Dobler added a comment -

          It seems like it's resolved, hopefully in the next release is gonna be fixed....

          Show
          Patrick Dobler added a comment - It seems like it's resolved, hopefully in the next release is gonna be fixed....
          Patrick Dobler made changes -
          Field Original Value New Value
          Link This issue depends on ICE-3667 [ ICE-3667 ]
          Ken Fyten made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 1.8DR#2 [ 10142 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Fix Version/s 1.8 [ 10161 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Hide
          Sreelatha Ganduri added a comment -

          We are using 1.8.2 and had a problem opening multiple times a file from the data table.
          First time, it opens the file correctly with the content. But, when tried second time. It asks to choose an option with a message saying the file is locked for editing. Would you like to open in Read-Only, Notify, Cancel - like we usually see when we access files on a shared drive that is already opened by another user on the network.

          This problem is observed with xls,xlsx types typically.

          Show
          Sreelatha Ganduri added a comment - We are using 1.8.2 and had a problem opening multiple times a file from the data table. First time, it opens the file correctly with the content. But, when tried second time. It asks to choose an option with a message saying the file is locked for editing. Would you like to open in Read-Only, Notify, Cancel - like we usually see when we access files on a shared drive that is already opened by another user on the network. This problem is observed with xls,xlsx types typically.

            People

            • Assignee:
              Unassigned
              Reporter:
              Patrick Dobler
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: