Is there a way to modify the three icons that appear on a webclient media field to display tool tips such as “View”, “Load” and “Delete”?
Also, is there a way to replace the icons to better match a solution’s color scheme?
Dean
![]()
Is there a way to modify the three icons that appear on a webclient media field to display tool tips such as “View”, “Load” and “Delete”?
Also, is there a way to replace the icons to better match a solution’s color scheme?
Dean
![]()
Westy:
Is there a way to modify the three icons that appear on a webclient media field to display tool tips such as “View”, “Load” and “Delete”?Also, is there a way to replace the icons to better match a solution’s color scheme?
Dean
The tooltips that are displayed now are i18n keys: servoy.imageMedia.popup.menuitem.load , servoy.imageMedia.popup.menuitem.save and servoy.imageMedia.popup.menuitem.remove. You can modify those. The images are not customizable, you can add a feature request about this.
Thank you for the reply. In webclient should I be able to have a different Tool Tip appear for each of the three icons? I am presently only able to have the same Tool Tip show for all three icons. Is this a webclient limitation or am I just doing something wrong?
One more question. In smartclient I can make a method run onDataChange of the media field, however, it does not work in webclient. Is there any way around this? I need to have a method automatically execute from webclient after the user has uploaded an image to the media field.
Dean
Westy:
Thank you for the reply. In webclient should I be able to have a different Tool Tip appear for each of the three icons? I am presently only able to have the same Tool Tip show for all three icons. Is this a webclient limitation or am I just doing something wrong?One more question. In smartclient I can make a method run onDataChange of the media field, however, it does not work in webclient. Is there any way around this? I need to have a method automatically execute from webclient after the user has uploaded an image to the media field.
Dean
Yes, I get “Save media”, “Load media” and “Remove media” as tooltips. You can check/modify the three i18n keys for the tooltips (mentioned in previous post) - using i18n editor. About onDataChange, I see it is not working, you can add a case about this in our support system.
lvostinar:
you can add a case about this in our support system.
I just submitted as case # 231,699.
How exactly can I make the three tool tips appear instead of just one? When I add all three lines one under the other it does not work. When I try to edit, all options appear to be grayed out.
I am new to using the i18n editor
Dean
Westy:
lvostinar:
you can add a case about this in our support system.I just submitted as case # 231,699.
How exactly can I make the three tool tips appear instead of just one? When I add all three lines one under the other it does not work. When I try to edit, all options appear to be grayed out.
I am new to using the i18n editor
Dean
Open i18n editor (from context menu of I18N node, for example); type/paste key: servoy.imageMedia.popup.menuitem.load in filter field, press enter, it should appear in the table. Select it, then you can modify the values for different locales(Add/Update button). It is the same as in 3.5 i18n editor.
I am in the i18n 3.5 editor. When I select Load Media it appears up top, but the Add/Update button is grayed out.
So I have two questions: 1. how do I make the button so it is not grayed out, and 2. what is the Add/Update button going to do?
With regard to number two above, I am not clear on how to apply all three tool tips (Save media, Load media, and Remove media) to the global.media field. I definately see that it is possible to show all three, because the last time I submitted a Servoy case I noticed that the webclient solution for cases has a media field that does show all three tool tips with each one showing above the appropriate icon. I actually do have the “Load media” tool tip showing for all three icons now, even though I am not sure how I did it. Now I just need to make the other two tool tips show over the appropriate icons.
So I think I am close to getting this done, but I seem to still be missing a necessary step somewhere.
Dean
- how do I make the button so it is not grayed out,
You must define an i18n server and table from solution settings.
- what is the Add/Update button going to do?
If the i18n key didn’t exist will add it, if it existed will update it with the defined values.
I am in the i18n 3.5 editor
I see that in 3.5 these tooltips do not work well; for example in Firefox I get no tooltip. I guess you see the tooltip defined on the field ? In 4.1 this is fixed and the three i18n keys are applied by Servoy as tooltips to the three images.