on 06-13-2007 2:33 PM
hi all,
how to insert a JPG file or a picture in webdynpro form and then what is the use of MIME object.
please give me the details as early as possible.
thanks and regards,
sai siva kumar
Hi Sai,
First go to your directory and upload your jpg as a mime object.In the mime properties you could specify whether it as jpg or gif or anything.
Now you go to your view and create an image element , and in the properties give the image location as the location of the mime that you have uploaded.
/sap/webdynpro/main/main.jpg
if you have put the mime in your webdynpro component then you could directly mention main.jpg
Thanks
Anzy
Reward points if this solves your problem
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 display images with the Image UIElement which can point to a URL. So if you store your JPEG file on the MIME then you have to generate a URL for this file and then make your Image UI Element point to this URL.
If your image is stored on a content server then generate a URL, as I said previously, set the source at runtime to the generated URL.
In both cases, make the source attribute of the Image UIElement point to a context attribute (type string should be ok) and use the code wizard to set the attribute.
Hope it helps,
Olivier MATT
PS: be sure that your image is a JPEG or any supported fileformat by your browser (WD do not handle image conversions).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
see <a href="http://help.sap.com/saphelp_nw70/helpdata/en/ec/bb08428dab5f24e10000000a1550b0/frameset.htm">this</a> on web icons and <a href="http://help.sap.com/saphelp_nw70/helpdata/en/44/15a40b56080d1be10000000a114a6b/frameset.htm">this</a> on integrating forms which exist in the form of a MIME object.
Regards, Heidi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.