Re: [TRINIDAD] How to cancel a ValueChangeEvent

2008-01-14 Thread Rafa Pérez
Hi Matthias, thank you for your answer. Yes, I did, but it seems that when the ValueChangeListener is reached, any changes made on the component are not displayed on the browser unless the component has a partialTrigger to itself. I have solved this issue this way, but I am facing another problem.

Re: [TRINIDAD] How to cancel a ValueChangeEvent

2008-01-14 Thread Matthias Wessendorf
have you tried the resetValue() (available via UIXEditableValue component) On Jan 13, 2008 11:43 PM, Rafa Pérez <[EMAIL PROTECTED]> 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 n

[TRINIDAD] How to cancel a ValueChangeEvent

2008-01-13 Thread Rafa Pérez
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