jsf - Strange display of p:fileUpload component -


i trying use fileupload component of primefaces , working but empty error message displayed when component appeared no content , not understand why.

enter image description here

and if add file component disappeared still not pretty have when component loads.

// view <h:form>   <p:fileupload fileuploadlistener="#{bean.handlefileupload}" /> </h:form>  // managedbean public void handlefileupload(fileuploadevent event) {     uploadedfile file = event.getfile();     system.out.println("handlefileupload : " + file); } 

the managed bean function called when click on upload button.

hope understand problem !

thanks in advance


Comments

Popular posts from this blog

go - serving up pdfs using golang -

how to add preprocess loader in webpack 2 -

python - django admin: changing the way a field (w/ relationship to another model) is submitted on a form so that it can be submitted multiple times -