ICEfaces
  1. ICEfaces
  2. ICE-6370

ice:datatable not working inside ui:repeat

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.0-Beta2
    • Fix Version/s: 2.0.0
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Windows XP, Glassfish 2.1.1

      Description

      In latest Icefaces2 beta, when trying to render a list of datatables, only the last one is displayed.

      This seems like a bug.

      Using c:forEach works "fine", except it is not the right thing to use and a modification of the c:forEach source collection will not be reflected after first page view.

      Anyone knowing how to solve that, or is there a workaround?

      Yannick

      Code:

                               <ui:repeat value="#{GestionDecharges.coursSelTravCollection}" var="ligneActivite" >
       
                                           <ice:dataTable value="#{ligneActivite.ligneAttributionsAnneeN}"
                                                        var="attributionAnneeN">
                                               <ice:column >
                                                   <f:facet name="header">
                                                       <h:outputLabel value="Nom" style="width: 150px" />
                                                   </f:facet>
                                                   <h:commandButton value="#{attributionAnneeN.nomEnseignant}" action="#{GestionDecharges.afficherVueProf(attribution.intervenant,GestionDecharges.anacAttributionDisplay)}" styleClass="lien" />
                                               </ice:column>
                                               <ice:column >
                                                   <f:facet name="header" >
                                                       <h:outputLabel value="Prénom" style="width: 150px"/>
                                                   </f:facet>
                                                   <h:outputText value="#{attributionAnneeN.prenomEnseignant}" style="width: 150px"/>
                                               </ice:column>
                                           </ice:dataTable>
       
                               </ui:repeat>

        Issue Links

          Activity

          Yannick Majoros created issue -
          Ken Fyten made changes -
          Field Original Value New Value
          Link This issue duplicates ICE-6313 [ ICE-6313 ]
          Ken Fyten made changes -
          Assignee Judy Guglielmin [ judy.guglielmin ]
          Ken Fyten made changes -
          Salesforce Case []
          Fix Version/s 2.0.0 [ 10230 ]
          Assignee Priority P1
          Ken Fyten made changes -
          Link This issue duplicates ICE-6313 [ ICE-6313 ]
          Ken Fyten made changes -
          Link This issue is duplicated by ICE-6361 [ ICE-6361 ]
          Ken Fyten made changes -
          Assignee Judy Guglielmin [ judy.guglielmin ] Ted Goddard [ ted.goddard ]
          Ken Fyten made changes -
          Fix Version/s 2.1 [ 10241 ]
          Fix Version/s 2.0.0 [ 10230 ]
          Ted Goddard made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Won't Fix [ 2 ]
          Ken Fyten made changes -
          Salesforce Case []
          Fix Version/s 2.0.0 [ 10230 ]
          Fix Version/s 2.1 [ 10241 ]
          Assignee Priority P1
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Ted Goddard
              Reporter:
              Yannick Majoros
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: