I am using prime faces file upload feature in my application form, whenever i upload the file it is not displaying the preview image in screen.
I would like to know which attribute and class to refer for this issue. please find the sample code below.
<fileUpload id="uploadImage" fileLimit="1" fileUploadListener="#{publicSarFormDataBean.handleFileUpload}" process="@form" mode="advanced" multiple="false" auto="true" onstart="PF('statusDialog').show()" oncomplete="PF('statusDialog').hide(), PF('documentListTbl').filter()" dragDropSupport="true" sizeLimit="1000000000" allowTypes="/(\.|\/)(png|jpeg|JPEG|jpg|JPG)$/" invalidFileMessage="File is invalid" update="messages" styleClass="Fleft FontBold"> </p:fileUpload>