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

Reply via email to