Package org.richfaces.photoalbum.model.event

Examples of org.richfaces.photoalbum.model.event.ImageEvent


        }

        // Prepare to show in UI
        fileWrapper.setComplete(false);
        fileWrapper.getFiles().add(image);
        imageEvent.fire(new ImageEvent(image));
        // Delete temporary file
        try {
            fileHandler.delete();
        } catch (Exception ioe) {
            log.log(Level.INFO, "error", ioe);
View Full Code Here


            albumAction.editAlbum(dropValue);
        } catch (Exception e) {
            error.fire(new ErrorEvent("Error:", Constants.ERROR_IN_DB + "<br/>" + e.getMessage()));
            return;
        }
        imageEvent.fire(new ImageEvent(dragValue, pathOld));
        ApplicationUtils.addToRerender(Constants.TREE_ID);
    }
View Full Code Here

        } catch (Exception e) {
            error.fire(new ErrorEvent("Error", Constants.IMAGE_DELETING_ERROR + " <br/>" + e.getMessage()));
            return;
        }
        // Raise 'imageDeleted' event, parameter path - path of file to delete
        imageEvent.fire(new ImageEvent(image, pathToDelete));
    }
View Full Code Here

TOP

Related Classes of org.richfaces.photoalbum.model.event.ImageEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.