[richfaces-issues] [JBoss JIRA] (RF-11682) 'tooltip.popup' is null or not an object

Lutz Ulrich (JIRA) jira-events at lists.jboss.org
Thu Feb 28 09:24:57 EST 2013


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

Lutz Ulrich commented on RF-11682:
----------------------------------

I don't know if it makes sense to comment on a 'resolved' issue,
but I detected a similar error with 4.3.0.Final - no matter what browser is used.

Its probably because of showDelay used along with partial update.

{code}

<a4j:commandLink action="#{richTabMinimizer.toggle}" render="@this">
	<h:graphicImage library="org.richfaces.images"
		name="#{richTabMinimizer.expanded ? 'triangleUp.png' : 'triangleDown.png'}"/>
						
	<rich:tooltip followMouse="false" showDelay="1000">
		#{richTabMinimizer.expanded ? 'close' : 'expand'}
	</rich:tooltip>
</a4j:commandLink>
				

{code}

(Its a stripped down example. The actual content of my tool-tip holds more text.)
Note that my 'richTabMinimizer.toggle' bean toggles some GUI stuff and its property 'expanded' is switched from true to false and vice versa.
You may probably replace it with anything to reproduce the error.

Probably the tool-tip tries to show after the HTML elements have already been updated.
It's no serious error. Nevertheless, its ugly.

I guess it is not unusual to have a tool-tip (with a showDelay) on a command.
But often, users will click the command just after the mouse entered the command.

If there is no response on my comment on this 'resolved' issue, I will create a new one.

                
> 'tooltip.popup' is null or not an object
> ----------------------------------------
>
>                 Key: RF-11682
>                 URL: https://issues.jboss.org/browse/RF-11682
>             Project: RichFaces
>          Issue Type: Bug
>          Components: component-output
>    Affects Versions: 4.0.0.Final, 4.2.0.Final
>         Environment: Windows 
>            Reporter: mani v
>            Priority: Critical
>         Attachments: Tooltip.popup is null.jpg
>
>
> i am using <rich:tooltip> inside <rich:dataTable>.its working find but when i do filter or go to next page the popup is throwing js error.
>  
> :246
> :21
> :'tooltip.popup' is null or not an object
>  
>  
> <code for review>
> {code}
> <rich:column filter="#{filter.name}" sortBy="#{row.name}" sortOrder="#{filter.nameOrder}">
>     <f:facet name="header">
>         <a4j:commandLink value="Name" action="#{filter.sortByName}" render="table" ></a4j:commandLink>
>     </f:facet>
>     <rich:tooltip>#{row.name}</rich:tooltip>
>     <h:outputText value="#{row.name}"/>
> </rich:column>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list