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

Brian Leathem (JIRA) jira-events at lists.jboss.org
Tue May 8 13:19:17 EDT 2012


     [ https://issues.jboss.org/browse/RF-12198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Leathem updated RF-12198:
-------------------------------

       Fix Version/s: 4.2.2.Final
         Description: 
I created a simple richfaces app using maven archetype 'richfaces-archetype-simpleapp'

Nesting rich:tooltip within a4j:commandButton does not work; used mark up

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

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

{code}
                        <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>
{code}


  was:
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>



            Assignee: Luca Nardelli
    Git Pull Request: https://github.com/richfaces/components/pull/30  (was: https://github.com/richfaces/components/pull/30)

    
> 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
>            Assignee: Luca Nardelli
>             Fix For: 4.2.2.Final
>
>
> I created a simple richfaces app using maven archetype 'richfaces-archetype-simpleapp'
> Nesting rich:tooltip within a4j:commandButton does not work; used mark up
> {code}
> <a4j:commandButton id="button1" value="B1">
>  <rich:tooltip>
>   <span>tooltip1</span>
>  </rich:tooltip>
> </a4j:commandButton>
> {code}
> neither using 'client' mode nor wrapping a4j:commandButton within a4j:outputPanel as shown below is a workaround
> {code}
>                         <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>
> {code}

--
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