Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 43480 invoked from network); 28 Sep 2007 15:01:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Sep 2007 15:01:48 -0000 Received: (qmail 95576 invoked by uid 500); 28 Sep 2007 15:01:28 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 95546 invoked by uid 500); 28 Sep 2007 15:01:28 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 95530 invoked by uid 99); 28 Sep 2007 15:01:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Sep 2007 08:01:28 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of francisco.passos@gmail.com designates 64.233.184.232 as permitted sender) Received: from [64.233.184.232] (HELO wr-out-0506.google.com) (64.233.184.232) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Sep 2007 15:01:27 +0000 Received: by wr-out-0506.google.com with SMTP id l58so1387776wrl for ; Fri, 28 Sep 2007 08:01:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=o/I93E63h1vxsoae0SJYvHB2+MUVZM710bQbsiLGkIU=; b=qYVZHzfl7ot7wb0lD1hwS61znaW9LWi1I6EOo/mr4ycOXzJO96mMkUkStmw7qSQGLDhvrExr7eMn4VMvjnMvGj0O6eJouGSXLdaYkpIYI4WXo86UP0VNYQSZjTucKiM/59ngK91Jur3Zhh3hKx/EuPSXzBiv11Go+/XxnYkOExE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=YUO+ZZrKAo26/6i/ys7vL2AcNEgN8AXzFHcL4bv7eW2gOUVuPwZi4+Y2w3wSICcBcDBnHO32U/7KX2DNRO5IjazgDp9mNad3EHv0HyN327nlQ778q5g+jbSvMfmy2Ur9tsOgb4f7ZjbDH6uLL8iD+ZTd79Yh7v7SlmtwkU4igwo= Received: by 10.90.119.15 with SMTP id r15mr5839455agc.1190991664673; Fri, 28 Sep 2007 08:01:04 -0700 (PDT) Received: by 10.90.26.13 with HTTP; Fri, 28 Sep 2007 08:01:04 -0700 (PDT) Message-ID: Date: Fri, 28 Sep 2007 16:01:04 +0100 From: "Francisco Passos" To: "MyFaces Discussion" Subject: Re: [Trinidad] tr:iterator In-Reply-To: <5a99335f0709271530h7cf9ae12x692315df782f92ff@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2497_13715676.1190991664661" References: <7D2A91A1EE8827459C33B155A47B039D32259D@zeus.chordiant.com> <5a99335f0709271530h7cf9ae12x692315df782f92ff@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_2497_13715676.1190991664661 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 wrote: > > May I also suggest to look at t:dataList? > > regards, > > Martin > > On 9/28/07, William Gosse 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:francisco.passos@gmail.com] > > 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: > > > > > var="grupoAtributos" binding="#{fichaBean.tabNavigationPane}" > > varStatus="status"> > > > > > > > > > partialSubmit="true" selected="#{grupoAtributos.igrupoid eq > > fichaBean.selectedGroupId}" actionListener="#{fichaBean.refreshIt}"> > > > to="#{fichaBean.selectedGroupId}" /> > > > > > > > > > > > > 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 > ------=_Part_2497_13715676.1190991664661 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 <martin.marinschek@gmail.com > wrote:
May I also suggest to look at t:dataList?

regards,

Martin

On 9/28/07, William Gosse <William.Gosse@chordiant.com> 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:francisco.passos@gmail.com]
>  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

------=_Part_2497_13715676.1190991664661--