ICEfaces
  1. ICEfaces
  2. ICE-11446

ice:outputResource doesn't support ui:repeat

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P06
    • Fix Version/s: EE-3.3.0.GA_P07
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Any

      Description

      The ice:outputResource component doesn't support ui:repeat. The contents of the last item in the list override the contents of all the other items. However, all meta data is correctly stored and rendered for each item in the list. The component does have some logic for the cases when it has a UIData parent, but this logic doesn't apply to ui:repeat.

      While the issue of having the same URLs in ui:repeat was fixed as per ICE-11431, there seems to be still an issue with the actual contents of the resources. However, it seems like there's no such issue when using actual files on the filesystem, instead of in-memory resources. The first test app provided by the customer now works as expected, in regards to the URLs and the content of the resources.

        Issue Links

          Activity

          Arturo Zambrano created issue -
          Arturo Zambrano made changes -
          Field Original Value New Value
          Assignee Arturo Zambrano [ artzambrano ]
          Arturo Zambrano made changes -
          Link This issue depends on ICE-11431 [ ICE-11431 ]
          Arturo Zambrano made changes -
          Description The ice:outputResource component doesn't support iterative components or tags that perform iteration, such as ui:repeat. The contents of the last item in the list override the contents of all the other items. However, all meta data is correctly stored and rendered for each item in the list. The component does have some logic for the cases when it has a UIData parent, but this logic is flawed as well. Since ui:repeat is not a component but a tag handler, this logic doesn't apply to it, and the component behaves as if it was a single component. The ice:outputResource component doesn't support iterative components or tags that perform iteration, such as ui:repeat. The contents of the last item in the list override the contents of all the other items. However, all meta data is correctly stored and rendered for each item in the list. The component does have some logic for the cases when it has a UIData parent, but this logic is flawed as well. Since ui:repeat is not a component but a tag handler, this logic doesn't apply to it, and the component behaves as if it was a single component.

          While the issue of having the same URLs in ui:repeat was fixed as per ICE-11431, there seems to be still an issue with the actual contents of the resources. However, it seems like there's no such issue when using actual files on the filesystem, instead of in-memory resources. The first test app provided by the customer now works as expected, in regards to the URLs and the content of the resources.
          Arturo Zambrano made changes -
          Workaround Description Use ace:dynamicResource instead. Base the resources on actual files on the file system or use ace:dynamicResource instead.
          Arturo Zambrano made changes -
          Support Case References Support Case 14380:- https://icesoft.my.salesforce.com/5000g00001wIW0k?srPos=0&srKp=500
          Ken Fyten made changes -
          Fix Version/s EE-3.3.0.GA_P07 [ 13118 ]
          Hide
          Arturo Zambrano added a comment -

          r52977, r52978: ice:outputResource, added check to detect ui:repeat parent and use logic for multiple instances of the component (3.3 EE maintenance branch and P07 tag).

          Show
          Arturo Zambrano added a comment - r52977, r52978: ice:outputResource, added check to detect ui:repeat parent and use logic for multiple instances of the component (3.3 EE maintenance branch and P07 tag).
          Arturo Zambrano made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Arturo Zambrano made changes -
          Summary ice:outputResource doesn't support iterative components ice:outputResource doesn't support ui:repeat
          Arturo Zambrano made changes -
          Description The ice:outputResource component doesn't support iterative components or tags that perform iteration, such as ui:repeat. The contents of the last item in the list override the contents of all the other items. However, all meta data is correctly stored and rendered for each item in the list. The component does have some logic for the cases when it has a UIData parent, but this logic is flawed as well. Since ui:repeat is not a component but a tag handler, this logic doesn't apply to it, and the component behaves as if it was a single component.

          While the issue of having the same URLs in ui:repeat was fixed as per ICE-11431, there seems to be still an issue with the actual contents of the resources. However, it seems like there's no such issue when using actual files on the filesystem, instead of in-memory resources. The first test app provided by the customer now works as expected, in regards to the URLs and the content of the resources.
          The ice:outputResource component doesn't support ui:repeat. The contents of the last item in the list override the contents of all the other items. However, all meta data is correctly stored and rendered for each item in the list. The component does have some logic for the cases when it has a UIData parent, but this logic doesn't apply to ui:repeat.

          While the issue of having the same URLs in ui:repeat was fixed as per ICE-11431, there seems to be still an issue with the actual contents of the resources. However, it seems like there's no such issue when using actual files on the filesystem, instead of in-memory resources. The first test app provided by the customer now works as expected, in regards to the URLs and the content of the resources.
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: