[richfaces-issues] [JBoss JIRA] (RF-12198) rich:tooltip does not work inside a4j:commandButton

Bernhard Thalmayr (JIRA) jira-events at lists.jboss.org
Wed Apr 25 15:22:17 EDT 2012


Bernhard Thalmayr created RF-12198:
--------------------------------------

             Summary: rich:tooltip does not work inside a4j:commandButton
                 Key: RF-12198
                 URL: https://issues.jboss.org/browse/RF-12198
             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 a4j:commandButton does not work; used mark up

<a4j:commandButton id="button1" value="B1">
 <rich:tooltip>
  <span>tooltip1</span>
 </rich:tooltip>
</a4j:commandButton>

neither using 'client' mode nor wrapping a4j:commandButton within a4j:outputPanel as shown below is a workaround

                        <a4j:commandButton id="button2" value="B2">
                            <rich:tooltip mode="client">
                                <span>tooltip2</span>
                            </rich:tooltip>
                        </a4j:commandButton>

                        <a4j:outputPanel>
                            <a4j:commandButton id="button3" value="B3">
                                <rich:tooltip>
                                    <span>tooltip3</span>
                                </rich:tooltip>
                            </a4j:commandButton>
                        </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