[richfaces-issues] [JBoss JIRA] (RF-11783) disabled a4j:commandButton with nested tooltip disappears when enabled with ajax render

Ján Jamrich (JIRA) jira-events at lists.jboss.org
Mon Jan 16 09:28:18 EST 2012


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

Ján Jamrich commented on RF-11783:
----------------------------------

Created example with tooltip within a4j:commandButton, but didn't get the same behavior.
But tooltip is not working (not displayed even conditions for render met).

(Since I wrongly commented commit, it is missing in "Source" tracking. There is related commit: https://source.jboss.org/changelog/RichFaces?cs=23150)

Example page:
https://source.jboss.org/browse/RichFaces/modules/tests/metamer/trunk/application/src/main/webapp/components/richTooltip/rf11783.xhtml?r=23150
                
> disabled a4j:commandButton with nested tooltip disappears when enabled with ajax render
> ---------------------------------------------------------------------------------------
>
>                 Key: RF-11783
>                 URL: https://issues.jboss.org/browse/RF-11783
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 4.1.0.Milestone4
>         Environment: Mojarra 2.1.3, Glassfish 3.1.1.
>            Reporter: Brendan Healey
>            Assignee: Ján Jamrich
>
> The following code resides in the footer of an extendedDataTable, although my
> guess is that this is not relevant. The button is initially disabled, then
> bean.property is set true and we do ajax render="myButton". The button
> disappears from the screen. Removing the tooltip makes it work as expected.
> <a4j:commandButton
>    id="myButton"
>    value=" test "
>    action="apage?faces-redirect=true"
>    disabled="#{empty bean.property}">
>    <rich:tooltip mode="client" showDelay="850">
>       <h:panelGroup layout="block" style="width: 200px; text-align: justify">
>          <h:outputText escape="false" value="some text"/>
>       </h:panelGroup>
>    </rich:tooltip>
> </a4j:commandButton>

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