Details
-
Type: Bug
-
Status: Closed
-
Priority: 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
-
ICEsoft Forum Reference:
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>
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
- is duplicated by
-
ICE-6361 Problems nesting dataTable inside ice:repeat
- Closed
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion