cancel
Showing results for 
Search instead for 
Did you mean: 

Uoloading multiple images in webdynprojava

smruti_moharana
Participant
0 Kudos

Dear Experts,

In my current application i am uploading only one image file, but according to new requirements i have to upload multiple images at a time please guide me to do this.

Thanks & regards,

Smruti Ranjan Moharana

Accepted Solutions (1)

Accepted Solutions (1)

junwu
Active Contributor
0 Kudos

i don't think web dynpro java support this.

smruti_moharana
Participant
0 Kudos

Dear experts,

my requirement is like uploading file like gmail,yahoomail

after uploading file once beforesubmiting form if user select browse it will shows three four options to uploadfile.

Thanks,

Smruti Ranjan

Qualiture
Active Contributor
0 Kudos

Why not simply use multiple context attributes of type IWDResource, instead of one?

smruti_moharana
Participant
0 Kudos

Dear Rabin,

Please provide me some code sample or link or step by step procedure then it will be a great help to me.

Thanks & Regards,

Smruti Ranjan

Qualiture
Active Contributor
0 Kudos

Have a look at this tutorial on uploading and downloading files:

In your case, I would create a context node Resources with cardinality 0..n, and an attribute resource of type IWDResource

For each file you need to upload, create a new element Resource and set the corresponding attribute

Once all files are stored in your context, just iterate through your Resource node and perform your already existing file handling procedures which you currently have for one file

Hope this explains

Robin

smruti_moharana
Participant
0 Kudos

Dear Robin,

Thanks a lot for your reply please send some sample coding then it will be consider as a great help to me.

Thanks & Regards,

Smruti Ranjan Moharana

Qualiture
Active Contributor
0 Kudos

Hi Smruti,

Unfortunately I don't have sample code, but in essence it's not much different than uploading a singe file; just enhance your UI to cater for more files, and instead of handling a single file you have to create a loop to process the multiple files

Answers (0)