on 01-04-2009 2:37 PM
Hi there,
I want to save images to dispay in webdynpro java application,to do this i am trying to save .jpg pictures under src-> mimes->component->com.test.comp1 ,when i draw pic in paint and save in the corresponding directory but when i try to see the list of pictures i had saved under com.test.comp1 no picture list gets displayed. any clues?
Thanks in advance
Rashmi.
Edited by: Rashmi Gupta on Jan 4, 2009 2:37 PM
Edited by: Rashmi Gupta on Jan 4, 2009 2:38 PM
Hi Rashmi,
Once you copy the pictures in Navigator view (from Eclipse), it means it is available as a project workspace resource.
But for Web Dynpro (part of NetWeaver Developer Studio from SAP) to use these pictures in application development, you have to come to the Web Dynpro Explorer and do a 'Reload' & 'Rebuild project' (right click on the project & choose from the context menu options)
These pictures are not meant to be visible in Web Dynpro Explorer view but you can now bind the Image UI Element to these pictures in any view under the said Web Dynpro component.
Kind Regards,
Nitin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
Thanks all for the inputs,it rally helped me,but when i copied pictures from other mimes and then reloaded the project i could see the previous images as well which i saved under components->....
Still i don't know what i was doing wrong because previously when i was trying to reload ,refresh even starting the system again nothing was not working.
Anyway noe it worked.
thanks a lot.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
Thanks a lot for all the replies,i tried all but still it didn't worked,but in navigator view i copied the pictures from other project mimes and it was done.but still i haven't got the solution why the pictures are not getting displayed under compnents->com.test.....-> ? .
Thanks & Regards,
Rashmi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rashmi,
Save those images on harddrive of ur system.
now delete those images from mimes.
now do copy those image from system n paste thm to d same mimes location which u wre doin erlier.
do it one by one.
now save it..close project thn reload n sync it.
check the name of " img source" property of image UI element.
it shud b same as d name of image,which u hv placed in mimes folder.
hpe it hlps u
Regards
Khushboo
Hi Rashmi,
If you have created the pictures in paint & saved them in the said mimes... folder, you will be able to see the pictures available under the project in Navigator view (this view is provided by Eclipse, it is the replica of your workspace folder)
Do a 'Reload' on the project as this re-syncs the sources from the workspace.
In the Navigator view, you may have to do a refresh (F5 ) on the project.
Kind Regards,
Nitin
Edited by: Nitin Jain on Jan 5, 2009 7:10 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Right click on the project and select Reload.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When are these images placed?
Is that at runtime? If it is runtime, see you are putting images to deployable object path.
If it is in local file system,
Project should be built and deployed to reflect newly added images.
nikhil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rashmi,
Closing and re-opening your Web Dynpro project in NWDS will solve your problem.
Regards
Kishan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rashmi,
the folder for saving the images is correct.
You only need to close the project and open it again then you will find the images under the corresponding folder in WD.
Adnan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.