Okido, thanks! I'll use the change listeners then...

Regarding the messages tag: I'll try that again (though I think I tried
it in the beginning), but I only have one message in my resource bundle
(I don't use '_detail'): would the tag display messages twice even
without such a detail entry in the bundle?

Thanks again!!
Kris

-----Original Message-----
From: Martin Marinschek [mailto:[EMAIL PROTECTED] 
Sent: 13 June 2005 16:56
To: MyFaces Discussion; [EMAIL PROTECTED]
Subject: Re: General faces questions: messages, lifecycle


Second question: yes, a valueChange Listener is the most common way to
track changes i inputs.

As for the first question: have you tried playing around with 

showDetail and showSummary as in:

    <x:messages errorClass="errorMessage" infoClass="infoMessage"
showSummary="false" showDetail="true"/>

regards,

Martin


On 6/13/05, Kris Verhoye <[EMAIL PROTECTED]> wrote:
> Hi!
> 
> My application messages always appear twice in the messages list. I 
> have an x:messages tag in my pages with only an id and styleClass 
> attribute, but the same happens when using the h:messages tag. What 
> could I do wrong here? When I use h:message, the relative messages 
> come out once.
> 
> BTW, is it so that one never can be sure if a setter is going to be 
> invoked, even if the value of the input hasn't been changed? What is 
> the most common way to track changes then? An onchange listener?
> 
> Thanks for any help!
> Kris
> 
>

Reply via email to