myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Robinson" <>
Subject Re: h:message tooltip
Date Tue, 05 Dec 2006 15:38:07 GMT
If you read the JavaDoc you will see that the summary is rendered in
the tooltip and the detail in the main text. I always thought that was
backwards, but Sun apparently didn't. Just create your own renderer
that switches them.


On 12/5/06, Marko Asplund <> wrote:
> hi
> I'm using the h:message action for displaying input field specific error
> messages in a JSF (MyFaces v1.1.4) application. The tooltip attributes
> doesn't seem to work as i would expect and i would be interested in knowing
> if it's a bug or feature. Here's the problem i'm having:
> when i define the following action element in my JSF view
> <h:message id="xyz" for="yieldActionKey" tooltip="true"
> showSummary="#{true}" showDetail="#{true}" errorClass="errors"/>
> In this case the tooltip shows the summary message, not the detail message
> as i would expect. Should it work like this?
> Also the detail message is rendered right after the summary. Is there any
> way of controlling how the detail message is rendered?
> Here's what the HTML looks like:
> <span id="taxdistform:xyz" title="summary message" class="errors">summary
> message detail message</span>

View raw message