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

Alex Kolonitsky (JIRA) jira-events at lists.jboss.org
Tue Jun 2 09:45:08 EDT 2009


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

Alex Kolonitsky resolved RF-5597.
---------------------------------

    Resolution: Done
      Assignee: Tsikhon Kuprevich  (was: Alex Kolonitsky)


> 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
>          Components: browser compatibility, component-output
>    Affects Versions: 3.2.2
>         Environment: Mac OS Safari
>            Reporter: Joe Stevens
>            Assignee: Tsikhon Kuprevich
>            Priority: Minor
>             Fix For: 3.3.2.CR1
>
>
> 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