1 Reply Latest reply on Jun 8, 2011 4:15 PM by lrios

    tooltip in rich:message

    lrios

      Hi, I'm trying to get my rich:message (which shows a validation) to show in a tooltip, I thougth it would work by setting attributte tooltip="true", but it doesn´t, how can it be done?

      Or if it can display an image and when you mouseover the image show the tooltip, it would be even better,

       

      thanks in advance.

        • 1. Re: tooltip in rich:message
          lrios

          well, i feel sad cause no one answered me...

           

          anyway, i solved it myself, here is the solution if anyone is interested:

           

          <a4j:outputPanel>

                         <rich:message for="nombre" showDetail="false" showSummary="false" toolTip="true">

                                        <f:facet name="errorMarker">

                                                                 <h:graphicImage value="/images/ajax/error.gif" />  

                      </f:facet>

                         </rich:message>

                         <rich:toolTip>

                                <span style="white-space:nowrap">

                                    <rich:message for="nombre" />

                                </span>

                 </rich:toolTip>

          </a4j:outputPanel>