[richfaces-issues] [JBoss JIRA] (RF-12199) rich:tooltip does not work inside h:graphicImage

Luca Nardelli (JIRA) jira-events at lists.jboss.org
Sat May 5 04:04:18 EDT 2012


    [ https://issues.jboss.org/browse/RF-12199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12690581#comment-12690581 ] 

Luca Nardelli commented on RF-12199:
------------------------------------

Like RF-12198 the problem is that the script is rendered before the component and the component is not yet present in the dom. Proposed rich:tooltip migration to JavaScriptService.
                
> rich:tooltip does not work inside h:graphicImage
> ------------------------------------------------
>
>                 Key: RF-12199
>                 URL: https://issues.jboss.org/browse/RF-12199
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-output
>    Affects Versions: 4.2.1.Final
>         Environment: RF 4.2.1.Final, GF 3.1.1
>            Reporter: Bernhard Thalmayr
>
> I created a simple richfaces app using maven archetype 'richfaces-archetype-simpleapp'
> Nesting rich:tooltip within h:graphicImage does not work; used mark up
>                         <h:graphicImage id="img1" name="projectavatar.png" library="images">
>                             <rich:tooltip>
>                                 <span>tooltip1</span>
>                             </rich:tooltip>
>                         </h:graphicImage>
> wrapping h:graphicImage within a4j:outputPanel is no workaround
>                         <a4j:outputPanel>
>                             <h:graphicImage id="img2" name="projectavatar.png" library="images">
>                                 <rich:tooltip>
>                                     <span>tooltip2</span>
>                                 </rich:tooltip>
>                             </h:graphicImage>
>                         </a4j:outputPanel>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list