Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 38951 invoked from network); 21 Aug 2008 10:49:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Aug 2008 10:49:27 -0000 Received: (qmail 15137 invoked by uid 500); 21 Aug 2008 10:49:20 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 15095 invoked by uid 500); 21 Aug 2008 10:49:20 -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 15084 invoked by uid 99); 21 Aug 2008 10:49:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Aug 2008 03:49:20 -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 brunoaranda@gmail.com designates 209.85.198.247 as permitted sender) Received: from [209.85.198.247] (HELO rv-out-0708.google.com) (209.85.198.247) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Aug 2008 10:48:24 +0000 Received: by rv-out-0708.google.com with SMTP id b17so744469rvf.36 for ; Thu, 21 Aug 2008 03:48:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=I7sjbFo1K1u9u+ZvjQGQufsv4CHmaUENkKcr2SmldR8=; b=IM0KlduNWJ9HOp1fMltPVNyxn+9aeiWtXZSL3tSB7lzV7YLWaQRQfNaoyU2QcZiRA5 GnP8Aj/Kp2fZeaxgCgJTgM0Sey7ZSqE9NYhSoBCiIaQSiMX7Uuk1+FuGTYlOvJY9IsgD 7hXwN4EXGhc/pW/mWgiY6gZp3eQGtLv1KZ8mk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=PWMIRI2Tx9dwG+XZL2UM9MG3/ZHTc1xeZAWHEQw0Zz0BIf93q/8mJHDf5DjaVeDD/I zPk5Qtk4TYU74cF441BJHhQg6rZludwzqxStXFgmK17kh+poVpPwkdbAvJkX1bQe1Zs9 nl+jYQE8fkQIqxywo1HToanxFG0m1HcOR6gEA= Received: by 10.140.133.10 with SMTP id g10mr633628rvd.151.1219315724560; Thu, 21 Aug 2008 03:48:44 -0700 (PDT) Received: by 10.140.163.14 with HTTP; Thu, 21 Aug 2008 03:48:44 -0700 (PDT) Message-ID: <1a681ff20808210348j580d956cs6a0ed3df7f9aae61@mail.gmail.com> Date: Thu, 21 Aug 2008 11:48:44 +0100 From: "Bruno Aranda" To: "MyFaces Discussion" Subject: Re: [trinidad] ShowDetail not working properly inside tables? In-Reply-To: <1a681ff20808190233t4e88dd86kd976b4b1301081cc@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_28637_28287804.1219315724565" References: <1a681ff20808190233t4e88dd86kd976b4b1301081cc@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_28637_28287804.1219315724565 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Ok, I guess this is a bug. I am not very familiar with trinidad renderers. Debugging at the ShowDetailRenderer class I see that the clientId is always the same for all the CoreShowDetail components in the table. Shouldn't they have an index appended to the id? Bruno 2008/8/19 Bruno Aranda > Hi, > > I am using trinidad 1.2.9 and I have realised that showDetail is not > working properly when inside the column in a table? I have a column with > showDetail and whenever I click in it only the showDetail from the first row > is disclosed. All the showDetails have the same id so, as expected by the > javascript function, only the first one will be disclosed. Is this a bug? Am > I missing something? > > Thanks guys, > > Bruno > ------=_Part_28637_28287804.1219315724565 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Ok, I guess this is a bug. I am not very familiar with trinidad renderers. Debugging at the ShowDetailRenderer class I see that the clientId is always the same for all the CoreShowDetail components in the table. Shouldn't they have an index appended to the id?

Bruno

2008/8/19 Bruno Aranda <brunoaranda@gmail.com>
Hi,

I am using trinidad 1.2.9 and I have realised that showDetail is not working properly when inside the column in a table? I have a column with showDetail and whenever I click in it only the showDetail from the first row is disclosed. All the showDetails have the same id so, as expected by the javascript function, only the first one will be disclosed. Is this a bug? Am I missing something?

Thanks guys,

Bruno

------=_Part_28637_28287804.1219315724565--