From adffaces-user-return-817-apmail-incubator-adffaces-user-archive=incubator.apache.org@incubator.apache.org Thu Aug 31 12:58:20 2006 Return-Path: Delivered-To: apmail-incubator-adffaces-user-archive@locus.apache.org Received: (qmail 45639 invoked from network); 31 Aug 2006 12:58:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 Aug 2006 12:58:18 -0000 Received: (qmail 19204 invoked by uid 500); 31 Aug 2006 12:58:17 -0000 Delivered-To: apmail-incubator-adffaces-user-archive@incubator.apache.org Received: (qmail 19022 invoked by uid 500); 31 Aug 2006 12:58:17 -0000 Mailing-List: contact adffaces-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: adffaces-user@incubator.apache.org Delivered-To: mailing list adffaces-user@incubator.apache.org Received: (qmail 19013 invoked by uid 99); 31 Aug 2006 12:58:17 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Aug 2006 05:58:17 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of simon.lessard.3@gmail.com designates 64.233.184.236 as permitted sender) Received: from [64.233.184.236] (HELO wr-out-0506.google.com) (64.233.184.236) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Aug 2006 05:58:16 -0700 Received: by wr-out-0506.google.com with SMTP id i5so187698wra for ; Thu, 31 Aug 2006 05:57:55 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=grJumnPt4lr4xJM5ad+4Ot94RdvvQzQGFtLy36N/uBG6yi1MrZbM7VZ/RZ5XARSGVlkTNJms12F9rQQbXYUFVKlE96ESzQ15xZekex7LtTa03SCYx3kj9Qp4LkJ47kIUnP97T2ATh2kSvFlCuM6732w1BBhIjFMYf9IQ+MCVAsA= Received: by 10.90.105.20 with SMTP id d20mr117197agc; Thu, 31 Aug 2006 05:57:55 -0700 (PDT) Received: by 10.90.100.3 with HTTP; Thu, 31 Aug 2006 05:57:55 -0700 (PDT) Message-ID: <254acf980608310557g6330b727x17fd3f2bce3883eb@mail.gmail.com> Date: Thu, 31 Aug 2006 08:57:55 -0400 From: "Simon Lessard" To: adffaces-user@incubator.apache.org Subject: Re: selectedRowKeys In-Reply-To: <35A72025A61EE3488E4CF824C717F70E03857A6B@OAEXCH1SERVER.oa.oclc.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_38007_3771414.1157029075600" References: <35A72025A61EE3488E4CF824C717F70E03857A6B@OAEXCH1SERVER.oa.oclc.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_38007_3771414.1157029075600 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello Jonathan, Can you precise the use case please so we can come up with a possible solution? Thanks, ~ Simon On 8/31/06, Baker,Jonathan wrote: > > According to the documentation: > > Name Type > Supports EL? Description > selectedRowKeys org.apache.myfaces.trinidad.model.RowKeySet Yes > the selection state for this component. > > I tried using this attribute for my table like this: > > selectedRowKeys="#{inbox.selectedRows}" > > Where selected rows exists as a field in my backing bean. > > private RowKeySet selectedRows; > > public RowKeySet getSelectedRows() { > return selectedRows; > } > > public void setSelectedRows(RowKeySet selectedRows) { > this.selectedRows = selectedRows; > } > > The problem is, neither the setter nor the getter is ever called on this > field when my form is submitted. > > I looked at the source code for > org.apache.myfaces.trinidad.component.core.data.CoreTable.java and there > is no reference in there for this attribute whatsoever. I also looked > at the demo code, but it was not using this attribute at all, and the > way the demo worked seemed a bit too low level for my tastes. Of course > if there is no alternative I will proceed as the demo did, but I was > just curious as to why this attribute seemingly is not functional. > > > JB > > > ------=_Part_38007_3771414.1157029075600--