Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 46554 invoked from network); 15 Apr 2008 15:53:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Apr 2008 15:53:34 -0000 Received: (qmail 32005 invoked by uid 500); 15 Apr 2008 15:53:29 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 31928 invoked by uid 500); 15 Apr 2008 15:53:29 -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 31917 invoked by uid 99); 15 Apr 2008 15:53:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Apr 2008 08:53:29 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [212.65.8.37] (HELO riemann-1.mvv.de) (212.65.8.37) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Apr 2008 15:52:35 +0000 Received: from zgnex03.mvv.mvvcorp.de [192.168.51.173] by riemann-1.mvv.de id TACIF69M outgoing id TACIF69M; 15 Apr 2008 17:52:56 +0200 Received: from MA-EXCL02.konzern.mvvcorp.de ([192.168.51.139]) by zgnex03.mvv.mvvcorp.de with Microsoft SMTPSVC(6.0.3790.3959); Tue, 15 Apr 2008 17:52:54 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: AW: [Trinidad] how to add default selection for Table Date: Tue, 15 Apr 2008 17:52:55 +0200 Message-ID: <9EAF7518061C3C4998726AD7422BA77D04A2541B@MA-EXCL02.konzern.mvvcorp.de> In-Reply-To: <4804C4F9.3030709@oracle.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Trinidad] how to add default selection for Table Thread-Index: AcifCqt3AW2pG5z/QnicEOUlY/BimgABEBmA References: <9EAF7518061C3C4998726AD7422BA77D04A25168@MA-EXCL02.konzern.mvvcorp.de> <4804C4F9.3030709@oracle.com> From: To: X-OriginalArrivalTime: 15 Apr 2008 15:52:54.0193 (UTC) FILETIME=[C4500210:01C89F10] X-WW-Spam-Likelihood: BodyRules=50, DBL=50, HeaderRules=50, Mailshell=62, total=62 X-Virus-Checked: Checked by ClamAV on apache.org Hi Max, thanks for your response. I tried this with a binding to method getSelectedRowKeys(), but it ends = up with a NullPointerException. The stackdrace does not contain any of = my Classes so it looks like an internal error. Here is the method I = used: =20 public RowKeySet getSelectedRowKeys(){ RowKeySet selectedRows =3D new RowKeySetImpl(); List addresses =3D getBillingAdresses(); for(int i=3D0;i=20 The billingAddresses method in the BackingBean returns a list of = BillingAddress-Objects. One of these objects has a boolean attribute = "selected" set to true. The row dsiplaying this object should be = preselected. I tried to find some help on the web but found only one solution that = was highly dependent on Seam.=20 Thanks in advance,=20 Tom=20 Thomas Asel=20 Diplom Informatiker (FH)=20 Selbst=E4ndiger Softwareentwickler=20 im Auftrag der 24/7 IT-Services GmbH=20 =3D=3D =3D=3D =3D=3D =3D=3D =3D=3D =3D=3D =3D=3D =3D=3D =3D=3D =3D=3D = =3D=3D =3D=3D=20 www.thomas-asel.de =20 J2EE und Contentmanagement-L=F6sungen=20 L13,7 68161 Mannheim=20 Tel.: +49 (0) 621 / 386 448 3=20 Mobil: +49(0) 176 / 219 284 26=20 USt-IdNr.: DE248123620=20