void function ( EventObject arg0 ) { InputFile loc0 = ( InputFile ) arg0 . getSource ( ) ; fileProgress = loc0 . getFileInfo ( ) . getPercent ( ) ; }
this method is bound to the inputfile component and is executed multiple times during the file upload process . every call allows the user to finds out what percentage of the file has been uploaded . this progress information can then be used with a progressbar component for user feedback on the file upload progress . concode_field_sep long MEGABYTE_LENGTH_BYTES concode_elem_sep Log log concode_elem_sep long KILOBYTE_LENGTH_BYTES concode_elem_sep int fileProgress concode_elem_sep InputFileData currentFile concode_elem_sep List fileList concode_field_sep void uploadFile concode_elem_sep void removeUploadedFile concode_elem_sep InputFileData getCurrentFile concode_elem_sep int getFileProgress concode_elem_sep List getFileList