cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hi, I'm trying to implement a progress bar indicator for a file upload in WebDynpro, without very good results.

I'm using a fileupload UI element, a TimerTrigger and a ProgressIndicator UI elements for this purpose.

It seems that using the fileupload UI element the iview is locked during the file upload, and therefore it prevents for the timer triggered action to be performed (this action updates the progress bar).

Additionally I havent been able to capture the transfered bytes from the upload. Maybe I'm using the wrong elements?

How could I achieve this. Has anyone done it?

I would really appreciate all the help I could get.

Homer Vargas

0 Likes
View Entire Topic
Former Member
0 Likes

Vargas,

Unfortunately, file upload is an atomic operation in WD, this is just a submit of multipart form data underneath. Obviously, it is impossible to create progress bar indicator for atomic operations - WD does not fire any additional events on upload progress or alike.

<i>Additionally I haven't been able to capture the transferred bytes from the upload</i>

If you are using file upload, you have to use <b>binary</b> context attribute, just access value of this attribute (which is of java type byte[]) in action handler.

Valery Silaev

EPAM Systems

http://www.NetWeaverTeam.com/