Hello there. I tried ui:repeat and the same happened. Before I tried t:dataList, I realized I was using a facelet and conditionally including two other pages which both had this code. I figured it might be causing some problems, so I switched them both to compositions with the original page. The problem ceased.
Thank you for your help! Francisco On 9/27/07, Martin Marinschek <[EMAIL PROTECTED]> wrote: > > May I also suggest to look at t:dataList? > > regards, > > Martin > > On 9/28/07, William Gosse <[EMAIL PROTECTED]> wrote: > > > > > > > > > > I've seen tr:iterator not behave well when laying out commandLinks > > horizontally. I've had much better luck with the Facelets ui:repeat tag > for > > this kind of stuff. Unfortunately it doesn't have a varStatus. > > > > > > > > ________________________________ > > > > > > From: Francisco Passos [mailto:[EMAIL PROTECTED] > > Sent: Thursday, September 27, 2007 12:42 PM > > To: MyFaces Discussion > > Subject: [Trinidad] tr:iterator > > > > > > > > > > Good afternoon! > > > > I'm using tr:iterator to present various commandLinks on a page. > > The problem is: they are always duplicated. I've checked and the list > on > > the bean only has 2 elements. However 4 links are generated. Here's the > > xhtml: > > > > <tr:iterator id="tabber" value="#{fichaBean.gruposAtributos}" > > var="grupoAtributos" binding="#{fichaBean.tabNavigationPane}" > > varStatus="status"> > > > > <tr:spacer width="15px" /> > > > > <tr:commandLink id="tab" text="#{grupoAtributos.ndenomin }" > > partialSubmit="true" selected="#{grupoAtributos.igrupoid eq > > fichaBean.selectedGroupId}" actionListener="#{fichaBean.refreshIt}"> > > <tr:setActionListener from="#{grupoAtributos.igrupoid}" > > to="#{fichaBean.selectedGroupId}" /> > > </tr:commandLink> > > > > </tr:iterator> > > > > > > Does anyone know why this happens and what I can do to avoid it? > > > > Thank you, > > Francisco Passos > > The information transmitted herewith is sensitive information of > Chordiant > > Software or its customers and is intended only for use to the individual > or > > entity to which it is addressed. If the reader of this message is not > the > > intended recipient, you are hereby notified that any review, > retransmission, > > dissemination, distribution, copying or other use of, or taking of any > > action in reliance upon, this information is strictly prohibited. If you > > have received this communication in error, please contact the sender and > > delete the material from your computer. > > > -- > > http://www.irian.at > > Your JSF powerhouse - > JSF Consulting, Development and > Courses in English and German > > Professional Support for Apache MyFaces >

