on 11-16-2005 12:03 PM
Hello all,
I created a confirmation dialog with IWDConfirmationDialog and I wanted to add an icon with the method setIcon:
dialog.setIcon("@1B@")
For some reason, the icon can't be seen.
Has anyone here used this method ?
Thanks so much.
Ruthie.
/**
* Method setIcon - this method sets an icon to the confirmation dialog. Only absolute urls are expected @see com.sap.tc.webdynpro.services.sal.url.api.IWDURLGenerator for details.
* @param icon - the absolute url for the icon
*/
public void setIcon(String icon);
The shortcuts like "@1B@" are not supported in Web Dynpro Java. If you want to use a SAP icon, have a look at the following method in IWDURLGenerator:
/**
* @see com.sap.tc.webdynpro.services.sal.url.api.WDURLGenerator#getSAPIconWebResourcePath(String)
*/
public String getSAPIconWebResourcePath(String iconName);
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Armin,
The method getSAPIconWebResourcePath of IWDURLGenerator
is used as:
public java.lang.String getSAPIconsWebResourcePath()
so how do I use if for a specific icon ?
Thanks so much.
Ruthie.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.