tooltip and dataGrid

Components, Ajax Framework, Utilities and More.
Post Reply
omardawod119
Posts: 7
Joined: 08 Mar 2011, 16:24

16 Jul 2011, 16:46

Hi everybody !

I have a dataGrid and inside that data grid I have a outputlink with title.
And I have a global tooltip outside the dataGrid.

When navigating in the datagrid, then the tooltip got damaged ? :(

Do I use the tooltip in a wrong way?

Thanks!

omardawod119
Posts: 7
Joined: 08 Mar 2011, 16:24

16 Jul 2011, 16:50

I forgot to tell you that I am using primefaces-3.0.M2 :)


User avatar
optimus.prime
Prime
Posts: 17421
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

16 Jul 2011, 23:51

So if you use 3.0.M3-snapshot with non-global tooltips, it should work. Note that global tooltips are not supported in M3.

omardawod119
Posts: 7
Joined: 08 Mar 2011, 16:24

17 Jul 2011, 18:30

Thanks for your reply.

Just wanted to tell that after some tests, that if the tooltip inside a position: relative; div then the position of the tooltip doesn't work properly

This code doesn't work properly (3.0.M3-snapshot):

<div style="position: relative; width: 950px; height: auto;margin: 0 auto;">
<h:outputText id="test" value="Tooltip test" title="This is the title"/>
<p:tooltip for="test"/>
</div>

But if you remove position: relative;, then it will work

Thanks!

User avatar
optimus.prime
Prime
Posts: 17421
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

17 Jul 2011, 19:37

It works for me well, tooltip is appended to body on the fly so the location on your page definition should not effect.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: Bing [Bot] and 1 guest