From adffaces-user-return-2607-apmail-incubator-adffaces-user-archive=incubator.apache.org@incubator.apache.org Wed Apr 04 17:52:02 2007 Return-Path: Delivered-To: apmail-incubator-adffaces-user-archive@locus.apache.org Received: (qmail 92173 invoked from network); 4 Apr 2007 17:52:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Apr 2007 17:52:01 -0000 Received: (qmail 61442 invoked by uid 500); 4 Apr 2007 17:52:07 -0000 Delivered-To: apmail-incubator-adffaces-user-archive@incubator.apache.org Received: (qmail 61428 invoked by uid 500); 4 Apr 2007 17:52:07 -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 61419 invoked by uid 99); 4 Apr 2007 17:52:07 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2007 10:52:07 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of mwessendorf@gmail.com designates 66.249.92.170 as permitted sender) Received: from [66.249.92.170] (HELO ug-out-1314.google.com) (66.249.92.170) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2007 10:51:58 -0700 Received: by ug-out-1314.google.com with SMTP id y2so908454uge for ; Wed, 04 Apr 2007 10:51:36 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=ZTTdmD/QDtgOgDlhWFAfYFKnTm/oNJo5ymAVgMB6r7MDkLfi4DppifoaPzx1/zy04FckFvTy5wKT7ZkhNKwazqrhiEC6jn/LIoU8G7zZVrXuT7iCyfqym1Zt1AMaWSNGYhB2muBK2WBCVpmXAz61VqRvyC9MwuzWebjwEZKIV6U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=SqP0OO3oA6ikhNla14iRbn9w0cSfvlHxNXYsxrg40N5z5Lltd+Y1aeyKHLq/3BnFNWN23Szy11djjdfZYh/siUblXpdUOg0dH77Ra7I1vH5Xvi34A9Vi4tvtYApI6W7r9TKLXcIg0bGAyTs+cT7UbrY2F54zLvRnnY0THpfKDFA= Received: by 10.78.149.13 with SMTP id w13mr151514hud.1175709095798; Wed, 04 Apr 2007 10:51:35 -0700 (PDT) Received: by 10.78.105.9 with HTTP; Wed, 4 Apr 2007 10:51:35 -0700 (PDT) Message-ID: <71235db40704041051x51c90c71jad3e0ef3b6ba86dc@mail.gmail.com> Date: Wed, 4 Apr 2007 18:51:35 +0100 From: "Matthias Wessendorf" Sender: mwessendorf@gmail.com To: adffaces-user@incubator.apache.org Subject: Re: How do I reset a component using PPR In-Reply-To: <4613DC82.9060702@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4613DC82.9060702@gmail.com> X-Google-Sender-Auth: da79ccca65829de4 X-Virus-Checked: Checked by ClamAV on apache.org resetValue is only a convenience method to call some more EditableValueHolder methods: setValue(null); setSubmittedValue(null); setLocalValueSet(false); setValid(true); tried to call: setValue(null); on ValueHolder ? On 4/4/07, Scott O'Bryan wrote: > You have the component's partialTrigger attribute set, correct? > Chris Gibbons wrote: > > OK I have a component that will submit a PPR and I have 2 components > > that will respond to that PPR event. One is an inputText component, > > and one is a outputText component. I have both of them bound with a > > binding= setting. In my bean the inputText component I can bind to a > > UIXEditableValue, and in my changeListener I can do > > component.resetValue() and that works, the component gets updated on the > > page. However the outputText cannot be bound to a UIXEditableValue, how > > can I reset this components value and have the value displayed on the > > page? Just setting the bean value is not sufficient. Somehow I need to > > reset that component. Anyone have any ideas? > > > > > > > > Chris Gibbons > > > > > > > > -- Matthias Wessendorf http://tinyurl.com/fmywh further stuff: blog: http://jroller.com/page/mwessendorf mail: mwessendorf-at-gmail-dot-com