on 05-04-2009 9:57 AM
Hi,
I need to display a icon by clicking on that I need to perform action, can you please suggest me on this.
Regards,
Venki.
Hi Venki,
You can use LinkToAction UI Element. Provide values for the image related properties & define the onAction event associated with it.
UI Element Guide at https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b06c8c9a-19a4-2b10-d985-9ae7a438...
Hope this solves your purpose.
Kind Regards,
Nitin Jain
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
you can use Buttons also , there is a property called imagesource property , where you can
provide the images , provide the image in the src-mimes-> components name-> paste the image.
and same in the property of the button . its case sensitive , should be exactly in the components
and also in the button property .
Thanks
Hi Venki,
Under src\mimes\Components\, there will be a folder with the qualified component name(like <package name>.<component name>). You need to paste the image in this folder.
Setting the imageSource property to this image path should show image in NWDS & a link over image hover will be there too.
If image does not come directly, Save the Global Metadata & do Reload & Rebuild the project.
Kind Regards,
Nitin Jain
Hi Venki,
Alternatively you can also use the icon which exist in the
"webdynpro/resources/sap.com/tcwddispwda/global/sapIcons/" folder.
e.g. you can set "~sapicons/s_s_warn.gif" in the alt and source of the image ui element.
Best Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.