Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 32204 invoked from network); 21 Mar 2008 14:31:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Mar 2008 14:31:46 -0000 Received: (qmail 92910 invoked by uid 500); 21 Mar 2008 14:31:39 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 92879 invoked by uid 500); 21 Mar 2008 14:31:39 -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 92868 invoked by uid 99); 21 Mar 2008 14:31:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Mar 2008 07:31:39 -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 andrew.rw.robinson@gmail.com designates 209.85.200.173 as permitted sender) Received: from [209.85.200.173] (HELO wf-out-1314.google.com) (209.85.200.173) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Mar 2008 14:31:01 +0000 Received: by wf-out-1314.google.com with SMTP id 29so1581186wff.24 for ; Fri, 21 Mar 2008 07:31:12 -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=qJJjG+6ayIMOg3xQpmhtW+tH27onk6YPG67Odg/nFik=; b=MGyR2SNKy8UnWgbI5tqjX4fFi6aLWQwBpsOvvEQ3gI3hd3NBeClVnM9KGEeEjyU0TFQEALAfo4fH5Kti0PTfPSZ5tauqN4TpdCYVhg5gRTgHnc0/UEWc7ZKITe2PfQmBpWKQ4AoYYYY9vLZmzT+I5/SfZYiYa8SwxH5mlli6Zfk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=MN8+zgO/DvMwrjatpqZlRG7wMj3qit2mjXmZSt+GhhjNzxn+6cmx5qEidQh/FMhO7a/gsx41uI1JDW1yMq0dB6+QOZpWT0O8oMJXrd+3cx0q3yCLjv3BbUisi0mCoRF4J8keQOZH/iDgOhuZmIe+jVPnN3EpoCqnNbUotmg/NFI= Received: by 10.142.127.10 with SMTP id z10mr2352534wfc.122.1206109872698; Fri, 21 Mar 2008 07:31:12 -0700 (PDT) Received: by 10.142.131.12 with HTTP; Fri, 21 Mar 2008 07:31:12 -0700 (PDT) Message-ID: Date: Fri, 21 Mar 2008 08:31:12 -0600 From: "Andrew Robinson" To: "MyFaces Discussion" Subject: Re: [Trinidad] tr:table varStatus not working for EL passed to included components In-Reply-To: <47E37C30.6080905@tecnotp.it> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4556_11640338.1206109872690" References: <47E2B3A1.3080405@tecnotp.it> <47E2B907.9000801@tecnotp.it> <47E2C71D.2020409@tecnotp.it> <47E37C30.6080905@tecnotp.it> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_4556_11640338.1206109872690 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Could you whip up a quick and small demo and maybe I can find some time next week to have a look? -Andrew On Fri, Mar 21, 2008 at 3:13 AM, Renzo Tomaselli wrote: > No way, using ui:decorate yields pretty much the same results. > Conversely - retrieving current row index from the bean works fine. > I'm afraid this issue is going to be appended to a list of facelets > mysteries. > > -- Renzo > > > Andrew Robinson wrote: > > On Thu, Mar 20, 2008 at 2:20 PM, Renzo Tomaselli wrote: > > > Andrew, I don't use any template. Never used one, actually I rely > heavily on composition components (many placeholders, one page). > Maybe a trivial workaround for this issue is to have a row getter > returning the row index, since #{row} is evaluated properly within the > inner component. > > > ui:composition, ui:decorate, ui:include and facelets user tags are all > pretty much the same TagHandler. They don't share code, but their code > is all very similar. > > So when you say: > "where cx:valueHolder is an included component having:" > > you are using a template. facelet template, include, user tag all boil > down to a Facelet class instance. So try the code I gave you instead > of using cx:valueHolder. > > -Andrew > > > > > ------=_Part_4556_11640338.1206109872690 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Could you whip up a quick and small demo and maybe I can find some time next week to have a look?

-Andrew

On Fri, Mar 21, 2008 at 3:13 AM, Renzo Tomaselli <renzo.tomaselli@tecnotp.it> wrote:
No way, using ui:decorate yields pretty much the same results.
Conversely - retrieving current row index from the bean works fine.
I'm afraid this issue is going to be appended to a list of facelets mysteries.

-- Renzo


Andrew Robinson wrote:
On Thu, Mar 20, 2008 at 2:20 PM, Renzo Tomaselli
<renzo.tomaselli@tecnotp.it> wrote:
  
Andrew, I don't use any template. Never used one, actually I rely
 heavily on composition components (many placeholders, one page).
 Maybe a trivial workaround for this issue is to have a row getter
 returning the row index, since #{row} is evaluated properly within the
 inner component.
    
ui:composition, ui:decorate, ui:include and facelets user tags are all
pretty much the same TagHandler. They don't share code, but their code
is all very similar.

So when you say:
"where cx:valueHolder is an included component having:"

you are using a template. facelet template, include, user tag all boil
down to a Facelet class instance. So try the code I gave you instead
of using cx:valueHolder.

-Andrew


  

------=_Part_4556_11640338.1206109872690--