myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kris Verhoye" <>
Subject RE: General faces questions: messages, lifecycle
Date Mon, 13 Jun 2005 15:16:27 GMT
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!!

-----Original Message-----
From: Martin Marinschek [] 
Sent: 13 June 2005 16:56
To: MyFaces Discussion;
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"/>



On 6/13/05, Kris Verhoye <> 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

View raw message