incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Wessendorf" <mat...@apache.org>
Subject Re: How do I reset a component using PPR
Date Wed, 04 Apr 2007 17:51:35 GMT
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 <darkarena@gmail.com> 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

Mime
View raw message