[richfaces-issues] [JBoss JIRA] Created: (RF-3513) toolTip: "disable" JS API doesn't work for this component.
Mikhail Vitenkov (JIRA)
jira-events at lists.jboss.org
Thu May 22 10:03:00 EDT 2008
toolTip: "disable" JS API doesn't work for this component.
----------------------------------------------------------
Key: RF-3513
URL: http://jira.jboss.com/jira/browse/RF-3513
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: IE6.IE7,Firefox,Opera,Safari(3.2.1.CR5)
Reporter: Mikhail Vitenkov
Assigned To: Nick Belaevski
Step 1. Add toolTip inside any rich component:
<rich:panel style="width:50px; height:50px; background-color: gray">
<rich:toolTip id="tooltipID" value="#{tooltip.value}" ...>
<h:outputLink value="http://www.jboss.com/"><f:verbatim>Link</f:verbatim></h:outputLink>
</rich:toolTip>
</rich:panel>
Step 2. Add "show", "hide", "enable" & "disable" JS API functionality:
<a4j:commandLink onclick="$('formID:tooltipSubviewID:toolTipID').component.show(event)" value="show"></a4j:commandLink>
<a4j:commandLink onclick="$('formID:tooltipSubviewID:toolTipID').component.hide(event)" value="hide"></a4j:commandLink>
<a4j:commandLink onclick="$('formID:tooltipSubviewID:toolTipID').component.enable" value="enable"></a4j:commandLink>
<a4j:commandLink onclick="$('formID:tooltipSubviewID:toolTipID').component.disable" value="disable"></a4j:commandLink>
Step 3. Click on "show" ajax link - toolTip appears.
Step 4. Click on "disable" ajax link - toolTip disappear just after delay, defined in hideDelay attribute.
Step 5. Click on "show" link again.
Actual behavior:
toolTip appears any way - "disable" JS API doesn't work.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list