common task component - tool tip?

View: New views
5 Messages — Rating Filter:   Alert me  

common task component - tool tip?

by daniel.jank :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hello woodstock users,

I have got a problem with the setting of tool tips for the common task component.
Especially when I use the common task component only with a picture without any text.


When I set the tooltip by code or by the properties window, it works only when I hover
the mouse over the control itself and not over the picture. (See example pic1)



When I hover the mouse over the picture, the standard tool tip appears ("Additional information about this task").
(see example pic2)



Do you have any ideas how to fix that?


Thanks in advance,


regards

Daniel


Re: common task component - tool tip?

by Venky45 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Daniel,

This is a themed entity.
You need to modify commonTasks.overviewImageTooltip property in messages.properties file present in the theme jar to change the value for this image's tooltip.

-Venky
marposs.com> wrote:

Hello woodstock users,

I have got a problem with the setting of tool tips for the common task component.
Especially when I use the common task component only with a picture without any text.


When I set the tooltip by code or by the properties window, it works only when I hover
the mouse over the control itself and not over the picture. (See example pic1)



When I hover the mouse over the picture, the standard tool tip appears ("Additional information about this task").
(see example pic2)



Do you have any ideas how to fix that?


Thanks in advance,


regards

Daniel


Re: common task component - tool tip?

by daniel.jank :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi Venky,


How can I access the file?  If I want to access it through Netbeans I get the "read-only" message and I found
no option to deactivate it. If i try to access the file through the windows explorer, (I found it once in the glassfish directory and in the user and settings\netbeans\.. folder )
I can change it, but when I build &run the project the property sets back automatically.

Is it also possible to bind this attribute to an messagebundle property like a normal Static Text Field?
Because I need this tool tip to be shown in 3 different languages.

Thanks!

Daniel



"M.R. Venkatesh Babu" <venkateshbabu.mr@...>

03.11.2008 17:48
Please respond to
users@...

To
users@...
cc
Subject
Re: common task component - tool tip?





Hi Daniel,

This is a themed entity.
You need to modify commonTasks.overviewImageTooltip property in messages.properties file present in the theme jar to change the value for this image's tooltip.

-Venky

marposs.com> wrote:

Hello woodstock users,


I have got a problem with the setting of tool tips for the common task component.

Especially when I use the common task component only with a picture without any text.



When I set the tooltip by code or by the properties window, it works only when I hover

the mouse over the control itself and not over the picture. (See example pic1)




When I hover the mouse over the picture, the standard tool tip appears ("Additional information about this task").

(see example pic2)




Do you have any ideas how to fix that?



Thanks in advance,



regards


Daniel



Re: common task component - tool tip?

by Venky45 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


The theme jar i am talking about is located at:
<netbeans-install-dir>/visualweb2/modules/ext/webui-jsf-suntheme.jar . The documented way of doing this update is to download the woodstock source, change the file in the themes module, build a netbeans component library and install it.. But i think directly editing the jar file mentioned in the above location should also work.. Havent tested it out in a while..

After you do the changes and created a war file, unzip the war file and see whether the changes you made in the jar have been included. If you have the localized theme jar for the languages you want to display, you can make similar changes to those theme jars too.

-Venky
On Tue, Nov 4, 2008 at 2:53 PM, <daniel.jank@...> wrote:

Hi Venky,


How can I access the file?  If I want to access it through Netbeans I get the "read-only" message and I found
no option to deactivate it. If i try to access the file through the windows explorer, (I found it once in the glassfish directory and in the user and settings\netbeans\.. folder )
I can change it, but when I build &run the project the property sets back automatically.

Is it also possible to bind this attribute to an messagebundle property like a normal Static Text Field?
Because I need this tool tip to be shown in 3 different languages.

Thanks!

Daniel



"M.R. Venkatesh Babu" <venkateshbabu.mr@gmail.com>

03.11.2008 17:48

Please respond to
users@...

To
users@...
cc
Subject
Re: common task component - tool tip?





Hi Daniel,

This is a themed entity.
You need to modify commonTasks.overviewImageTooltip property in messages.properties file present in the theme jar to change the value for this image's tooltip.

-Venky

marposs.com> wrote:

Hello woodstock users,


I have got a problem with the setting of tool tips for the common task component.

Especially when I use the common task component only with a picture without any text.



When I set the tooltip by code or by the properties window, it works only when I hover

the mouse over the control itself and not over the picture. (See example pic1)




When I hover the mouse over the picture, the standard tool tip appears ("Additional information about this task").

(see example pic2)




Do you have any ideas how to fix that?



Thanks in advance,



regards


Daniel




Re: common task component - tool tip?

by daniel.jank :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi Venky,

sorry for disturbing you again. I found now the correct file and can open it through the themes module, but when I try
to make changes I get the message " messages.properties cannot be locked because it's read only".

When I change the file (or any other webui-jsf-suntheme.jar, which is also in my project folder or in the glassfish -lib etc.) it always
gets resetted when i build & run the project.

Any ideas?

Thanks!

Regards Daniel




"M.R. Venkatesh Babu" <venkateshbabu.mr@...>

04.11.2008 11:09
Please respond to
users@...

To
users@...
cc
Subject
Re: common task component - tool tip?






The theme jar i am talking about is located at:
<netbeans-install-dir>/visualweb2/modules/ext/webui-jsf-suntheme.jar . The documented way of doing this update is to download the woodstock source, change the file in the themes module, build a netbeans component library and install it.. But i think directly editing the jar file mentioned in the above location should also work.. Havent tested it out in a while..

After you do the changes and created a war file, unzip the war file and see whether the changes you made in the jar have been included. If you have the localized theme jar for the languages you want to display, you can make similar changes to those theme jars too.

-Venky

On Tue, Nov 4, 2008 at 2:53 PM, <daniel.jank@...> wrote:

Hi Venky,



How can I access the file?  If I want to access it through Netbeans I get the "read-only" message and I found

no option to deactivate it. If i try to access the file through the windows explorer, (I found it once in the glassfish directory and in the user and settings\netbeans\.. folder )

I can change it, but when I build &run the project the property sets back automatically.


Is it also possible to bind this attribute to an messagebundle property like a normal Static Text Field?

Because I need this tool tip to be shown in 3 different languages.


Thanks!


Daniel



"M.R. Venkatesh Babu" <venkateshbabu.mr@gmail.com>

03.11.2008 17:48


Please respond to
users@...

To
users@...
cc
Subject
Re: common task component - tool tip?







Hi Daniel,

This is a themed entity.
You need to modify commonTasks.overviewImageTooltip property in messages.properties file present in the theme jar to change the value for this image's tooltip.

-Venky

marposs.com> wrote:

Hello woodstock users,


I have got a problem with the setting of tool tips for the common task component.

Especially when I use the common task component only with a picture without any text.



When I set the tooltip by code or by the properties window, it works only when I hover

the mouse over the control itself and not over the picture. (See example pic1)




When I hover the mouse over the picture, the standard tool tip appears ("Additional information about this task").

(see example pic2)




Do you have any ideas how to fix that?



Thanks in advance,



regards

Daniel