Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 57695 invoked from network); 12 May 2010 12:04:17 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 May 2010 12:04:17 -0000 Received: (qmail 94595 invoked by uid 500); 12 May 2010 12:04:17 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 94430 invoked by uid 500); 12 May 2010 12:04:16 -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 94422 invoked by uid 99); 12 May 2010 12:04:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 May 2010 12:04:16 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of cdurmont@gmail.com designates 74.125.82.53 as permitted sender) Received: from [74.125.82.53] (HELO mail-ww0-f53.google.com) (74.125.82.53) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 May 2010 12:04:09 +0000 Received: by wwb39 with SMTP id 39so848261wwb.12 for ; Wed, 12 May 2010 05:03:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=acgXekbyTANk5qSSa9TRif8/Yesh+sgaDe75TR1tfk8=; b=n/hBXh+uACXoTUOe8o6fWf787D0lekiYuKmKEdZAjBHgfNLUQPSWfnipaZQ5Iz0XGC PLEpcbAEoE90gdFiCUuMPvKw84ZjEbJPIv5ttd3PCOL78lBUDgypooh7+yk5W0TDjunz L+CBglcIebCWWpvez5dG6JC3HKWfnYyzqE8HE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=XS94tVXfX8sdp/0t7j+Yf5XTlOQ8lhYRn240G/oxshDj7rc5Go9qe0f/4gFLQIm8Xz Aa96o8X2bu5LbanJEM/1MFBTQGFQC9nX93flj9FtNh9ColY9YrZ2RhJ23b/di2xSowls 6Q8LsJtD0Cak2e62FR5Aw3251/DnU2kS4PFHo= MIME-Version: 1.0 Received: by 10.216.86.20 with SMTP id v20mr4395659wee.122.1273665828263; Wed, 12 May 2010 05:03:48 -0700 (PDT) Received: by 10.216.47.212 with HTTP; Wed, 12 May 2010 05:03:48 -0700 (PDT) In-Reply-To: <4BEA4F86.7010400@gmail.com> References: <4BEA4F86.7010400@gmail.com> Date: Wed, 12 May 2010 14:03:48 +0200 Message-ID: Subject: Re: [Trinidad] Changing content of form From: =?UTF-8?Q?C=C3=A9dric_Durmont?= To: MyFaces Discussion Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I won't say it's the ideal way, but my trick is to use a valueChangeListener on the tr:selectBooleanCheckbox, with immediate=3D"true". When the ValueChangeListener is triggered, I update the list used by the tr:selectOneChoice, and the partialTrigger does the rest. Hope this helps. Regards, Cedric Durmont 2010/5/12 Jozef Dropco : > I have following form, and I need when I toggle checkbox change values of > selectOneChoice. But inputText is first-time blank and selectOneChoice is > first-time null, so when I toggle checkbox javascript validation stops > rerendering, is =C2=A0it possible to change the value without validation.= I tried > immediate=3D"true" but no success :-(. > > Any ideas? > Thanks Jozef > > > value=3D"#{pensionBean.pension.price.price}"> > > > > label=3D"#{msg.useSystemCurrencies}" > value=3D"#{pensionBean.pension.price.discriminator}"/> > > partialTriggers=3D"pensionCurrencyChanger" > value=3D"#{pensionBean.pension.price.currentCurrency}"> > > > >