i m using 2.0.1 and glassfish Enterprise Server v3
i want to debug my file upload codes but i cant achieve. although i put breakpoints on regarding lines
i guess there is a debuging problem. On the other hand i can debug another codes.
Bean (Document_View)
Code: Select all
public void handleFileUpload(FileUploadEvent event) {
FacesMessage msg = new FacesMessage("Succesful", event.getFile().getFileName() + " is uploaded.");
FacesContext.getCurrentInstance().addMessage(null, msg);
}
Code: Select all
<p:fileUpload fileUploadListener="#{Document_View.handleFileUpload}" allowTypes="*.*;" description="Images" ></p:fileUpload>