[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
RISC: Setting tooltip for t:SCHEDULEITEMNode doesn't work  XML
Forum Index -> Development
Author Message
levy

Power User

Joined: 12/03/2008 16:38:22
Messages: 308
Location: XpertCenter
Offline

Hi Björn

I have detected that in RISC, setting the tooltip for t:SCHEDULEITEMNode is not effective.

Could you please check and fix?

Kind regards, Daniel
[WWW]
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5519
Offline

Hi David,

I tested and do not see any problems.
Anything special on your side?

Regards, Björn

Björn Müller, CaptainCasa GmbH
levy

Power User

Joined: 12/03/2008 16:38:22
Messages: 308
Location: XpertCenter
Offline

Hi Björn,

Yes, I guess you must look for wrapping part of your code.

In the attachement, there are two examples.
Use case: display a text with time range at last position.
In the tooltip, show the time range at first position.

1) Short text without wrapping --> tooltip setting works
1) Longer text with wrapping --> tooltip setting isn't effective

Regards, Daniel
[Thumb - tooltip.png]
 Filename tooltip.png [Disk] Download
 Description Example 1: Tooltip is different (setting effective) Example 2: Tooltip setting is not effective
 Filesize 7 Kbytes
 Downloaded:  300 time(s)

[WWW]
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5519
Offline

...do you mean with "not effective" that the tooltip is one line and now two lines? If this is the problem: tooltips are in general one line if using the default ones. You may use "HTML-tooltips", demo workplace: general => general issues => tooltip.

Regards, Björn

Björn Müller, CaptainCasa GmbH
levy

Power User

Joined: 12/03/2008 16:38:22
Messages: 308
Location: XpertCenter
Offline

Hi Björn,

Sorry for having provided a too complicated example.

Lets say simpler:
If I set "peep" as tooltip, then
1) if the text (not the tooltip) doesn't wrap, then the tooltip is correct ("peep").
2) if the text wraps, then "peep" is not shown in the tooltip. Instead, the text shown in the schedule box is repeated in the tooltip.

Not effective means here that the tooltip I set ("peep") is not shown in case the text contained in the schedule box wraps.

Regards, Daniel
[WWW]
levy

Power User

Joined: 12/03/2008 16:38:22
Messages: 308
Location: XpertCenter
Offline

Hi Björn

Could you reproduce the bug in the meantime?

Regards, Daniel
[WWW]
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5519
Offline

...no, I could not reproduce.
Please provide a .jsp where we can see the problem. Thanks! Björn

Björn Müller, CaptainCasa GmbH
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5519
Offline

...thanks for your info (sent by mail). The problem is solved for the next update.

Regards, Björn

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team