Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 71736 invoked from network); 2 Jan 2007 21:39:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Jan 2007 21:39:36 -0000 Received: (qmail 39561 invoked by uid 500); 2 Jan 2007 21:39:39 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 39275 invoked by uid 500); 2 Jan 2007 21:39:38 -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 39264 invoked by uid 99); 2 Jan 2007 21:39:38 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Jan 2007 13:39:38 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [203.109.151.109] (HELO email.rhe.co.nz) (203.109.151.109) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Jan 2007 13:39:28 -0800 Received: from [192.168.50.47] ([203.109.151.126]) by email.rhe.co.nz (Lotus Domino Release 7.0.1) with ESMTP id 2007010310390167-128561 ; Wed, 3 Jan 2007 10:39:01 +1300 Message-ID: <459AD08E.7020805@rhe.co.nz> Date: Wed, 03 Jan 2007 10:37:18 +1300 From: Simon Kitching User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: MyFaces Discussion Subject: Re: binding References: <459AD008.9040205@gmx.de> In-Reply-To: <459AD008.9040205@gmx.de> X-MIMETrack: Itemize by SMTP Server on RHEDomino2/RHE(Release 7.0.1|January 17, 2006) at 03/01/2007 10:39:01 a.m., Serialize by Router on RHEDomino2/RHE(Release 7.0.1|January 17, 2006) at 03/01/2007 10:39:23 a.m., Serialize complete at 03/01/2007 10:39:23 a.m. Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-Virus-Checked: Checked by ClamAV on apache.org puschteblume@gmx.de wrote: > Hi, I have a t:selectOneMenu in a t:dataTable. The dataTable consists of > wrappers, which has the selectOneMenu bound to: > > private HtmlSelectOneMenu oneMenu > > I want to check for all oneMenu as a double match isn't allowed. To > compare the selected values I must have access to the oneMenu object. > But this is always null. So I can't use the getOneMenu().getLocalValue() > method to access the clients value in the validator. > > Does anybody now what I have done wrong? Or is this a bug in the dataTable? I'm having trouble understanding what your setup is. Please post the relevant fragment of JSP, and any relevant java code. Cheers, Simon