]
Vadim Mikovoz closed RF-5597.
-----------------------------
Assignee: Nick Belaevski (was: Tsikhon Kuprevich)
verified on v.3.3.2.CR1
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: Nick Belaevski
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: