[richfaces-issues] [JBoss JIRA] Created: (RF-5597) toolTip javascript hide() doesn't work on safari

Joe Stevens (JIRA) jira-events at lists.jboss.org
Wed Jan 7 23:50:04 EST 2009


toolTip javascript hide() doesn't work on safari
------------------------------------------------

                 Key: RF-5597
                 URL: https://jira.jboss.org/jira/browse/RF-5597
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.2.2
         Environment: Mac OS Safari
            Reporter: Joe Stevens


The hide() function of the javascript api doesn't work for rich:toolTip on Safari.  The show() function works fine.  The following is a test file that demonstrates the problem:

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:rich="http://richfaces.org/rich">

    <head>
        <script type="text/javascript">/* <![CDATA[ */
            function showPopup( e, popupElemId )
            {
                popup = document.getElementById( popupElemId );
                popup.component.show(e);
                return false;
            }

            function hidePopup( e, popupElemId )
            {
                popup = document.getElementById( popupElemId );
                popup.component.hide(e);
                return false;
            }
        /*  ]]> */</script>
    </head>

    <body>
    <f:view>

        <h:outputLink
            id="link"
            value=""
            onclick="return showPopup(event, '#{rich:clientId( 'popup' )}' )">Click to Open</h:outputLink>
        <rich:toolTip
            id="popup"
            for="link"
            showEvent="none"
            hideEvent="none">
            <h:outputLink value="" onclick="return hidePopup( event, '#{rich:clientId( 'popup' )}' )">Click to Close</h:outputLink>
        </rich:toolTip>

    </f:view>
    </body>
</html>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list