Secure Global Desktop Administration Guide > Applets > getObjectImageNameByName (webtop script and webtop tray applets)
String getObjectImageNameByName(String objectName)
Returns the name of the image associated with the specified
link. This is the icon Secure Global Desktop displays as part of the
link if the webtop tray applet's ShowIcon
parameter has
the value true
.
This image is specified by the associated object's Webtop Icon attribute. The information returned depends on the attribute's value:
objectName is the full TFN name of an application on the user's webtop.
This method can be used with either the webtop script applet or the webtop tray applet.
imageName = applet.getObjectImageNameByName(".../_ens/o=Indigo Insurance/ou=Finance/ou=Administration/cn=Phone List"); alert("The image name is: " + imageName);
Displays the image name associated with the Phone List application.
Copyright © 1997-2005 Sun Microsystems, Inc. All rights reserved.