on 08-12-2009 5:06 AM
Hi,
I need to upload the company logo in the View of a Webdynpro application.
Can someone give me the steps for the same to be done?
Thanks,
Kundan
solved
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kundan,
follow the below steps;
1. create a webdynpro application.
2. Insert a Image UI element to web dynpro view.
3. Put the image inside Src>mimes>component. location of your project structrue.
4. now go to property of image UI element. and copy the image name and put it there alt and source. property
5. deploye ur application
6. creat ivew out this application.
Hope will solve your problem.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi kundan,
Store the images in the MIME Directory.
-> Declare a simple type data type in the Java Dictionary.
->Give values and description in the enumeration type.
-> Declare a value attribute of Simple type in View Controller.
-> Add a image UI Element and bind it with two attributes(Ctx1 and Ctx2).
Use the code below to get the name of image and further set it :
String vehicleType = wdThis.wdGetContext().currentContextElement().getCtx1();
wdThis.wdGetContext().currentContextElement().setCtx2(vehicleType+ ".jpg");
Go through the [link|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0e599cc-2862-2b10-54a9-dcf1376b52d7]
Regards,
srikanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi kundan,
1)Save the image in .jpeg or .bmp format.
2)Copy the image and Navigate to the Navigator tab there expand the project>src>mimes>components>under ur component and paste here.
3)create a image ui element and in the source property of element paste the name of the image.
4)Deploy and run the application.
Regards,
srikanth
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.