myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Wessendorf" <mat...@apache.org>
Subject Re: [TRINIDAD] How to cancel a ValueChangeEvent
Date Tue, 15 Jan 2008 06:19:21 GMT
have you tried the resetValue()
(available via UIXEditableValue component)

On Jan 13, 2008 11:43 PM, Rafa PĂ©rez <rajalin@gmail.com> wrote:
> Hi all,
>
> I have a ValueChangeListener in my bean that takes the new value of an
> inputText and performs a search against a database. If this search has no
> results, it should display a FacesMessage and also clear the inputText. I
> cannot clean the input's value or set it to its previous value. Is this
> possible? Any ideas on how can I achieve this?
>
> Any help appreciated.
>
> Greetings,
>
> - - Rafa
>



-- 
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org

Mime
View raw message