Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. <h:form id="uploadImagen" enctype="multipart/form-data">
  2.                                 <p:fileUpload fileUploadListener="#{personaSrdlController.handleFileUpload}"
  3.                                               style="width: 102px; height: 45px;"
  4.                                               mode="advanced"
  5.                                               update="nombre"
  6.                                               sizeLimit="100000"
  7.                                               allowTypes="/(\.|\/)(gif|jpg|jpeg|gif|png|PNG|GIF|JPG|JPEG)$/"
  8.                                               auto="true"
  9.                                               label="Imagen"
  10.                                               />
  11.                                 <div style="float: right; margin-top: -37px;" >
  12.                                     <p:inputText id="nombre" value="&nbsp;#{personaSrdlController.foto}" style="font-size: 11px;" size="18" disabled="true"/>
  13.                                 </div>
  14.                             </h:form>