public boolean save(FacesContext context, boolean force) throws FacesExceptionEx {
DataContainer container = getDataContainer();
if(container instanceof Container){
DataAccessor accessor = ((Container)container).getDataAccessor();
if(accessor instanceof FileServiceAccessor){
UploadedFile uploadedFile = (UploadedFile)((FileServiceAccessor)accessor).getUploadedFile();
if(uploadedFile != null){
IUploadedFile file = uploadedFile.getUploadedFile();
HashMap<String, String> params = new HashMap<String, String>();
String filename = uploadedFile.getFilename();
params.put("file", filename);
if (null != file) {
File serverFile = file.getServerFile();
if (null != serverFile) {