on 07-02-2007 12:23 PM
tell how we can load image in webdynpro...
Hi,
First Keep your image in Sample.jpg in c:\program files\<installation directory>\src\mimes\components\<ur component name>\Sample.jpg
U can display .JPG,.BMP,.GIF
1)Insert Image UI element
2)create an attribute IMAGE and set calculated=True in attribute properties
3)It generate two methods getImage() and setImage() methods
4)Bind the image attribute to image UI element
5)write the following coding in
getImage()
{
return "sample.jpg"
}
6)u have to specify the Image name correctly if it is in uppercase or lowercase
<b>Otherwise other method,</b>
Insert Image UI element then click image properties---->Source=Sample.jpg
Directly u type the image name Sample.jpg in that source and press Enter,automatically it will bind with tickmark. Then deploy it works...
Regards,
Suresh.T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shant..
Check these links..
<a href="https://www.sdn.sap.com/irj/sdn/wiki?path=/display/kmc/gettinganimagefromKMDocumentstobeusedinWeb+Dynpro&">Loading IMAGE</a>
Urs GS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Image ui is there to load images
Firts Copy the image to Project\src\mimes\Components\package\Image.jpg
Then mention the filename Image.jpg in Source of Image Ui
Regards
Fahad Hamsa
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.