var onfilesubmit = function (event) { var data = event.rf.data; RichFaces.log.info(jQuery('onfilesubmit: ' + data.name + ' ' + data.state + '')); }; var onuploadcomplete = function (event) { var data = event.rf.data; RichFaces.log.info(jQuery('onuploadcomplete:')); for (var i in data) { var item = data[i]; RichFaces.log.info(' ' + item.name + ' ' + item.state); } return true; }; var onclear = function (event) { var data = event.rf.data; RichFaces.log.info(jQuery('onclear:')); for (var i in data) { var item = data[i]; RichFaces.log.info(' ' + item.name + ' ' + item.state); removeFile(item.name); } }; var onfileselect = function (event) { var data = event.rf.data; RichFaces.log.info(jQuery('onfileselect: ' + data + '')); };
#{fileUploadBean.file.name}