cancel
Showing results for 
Search instead for 
Did you mean: 

Making use of integrated Icons

Former Member
0 Kudos

Hi,

does anyone know if there is a collection of frequently used Standard SAP-Icons integrated into Web Dynpro by default?

For example we want to use the Icon ICON_LED_GREEN.

There must be some Icons already, because WD uses them in the MessageManager-Window (i.e. the yellow exclamation mark)

If there are Icons, is it possible to use them as Source for the "iconSource" attribute of the Node of a Tree.

Thanks for any advise.

Regards,

Norbert

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Norbert,

latest recommendation from the UI designers is "Avoid using icons" Icons should be used only for status display.

Technically, there are many icons available within the Web Dynpro runtime. You can use the SAP icons and the Portal icons.

For SAP icon with filename "xyz.gif", prepend the prefix "sapicons/", for Portal icons prepend "portalicons/", e.g.

IWDImage image = ...;

image.setSource("~portalicons/s_s_ledg.gif");

Unfortunately, there is no IDE support for finding the icon filename easily.

Armin