Este contenido no está disponible en el idioma seleccionado.

18.4. Fill-in-forms


If you have a complex, pre-generated PDF with named fields, you can easily populate it with values from your application and present it to the user.
Expand
<p:form>
Description
Defines a form template to populate.
Attributes
  • URL — A URL that points to the PDF file to use as a template. If the value contains no protocol (://), the file is read locally.
  • filename — The filename to use for the generated PDF file.
  • exportKey — If set, no redirect will occur when the generated PDF file is placed in a DocumentData object under the specified key in the event context.
Expand
<p:field>
Description
Connects a field name to its value.
Attributes
  • name — The name of the field.
  • value — The value of the field.
  • readOnly — Whether the field is read-only. The default is true.
  
<p:form
   xmlns:p="http://jboss.com/products/seam/pdf" 
   URL="http://localhost/Concept/form.pdf"> 
  <p:field name="person.name" value="Me, myself and I"/> 
</p:form>
Copy to Clipboard Toggle word wrap
Volver arriba
Red Hat logoGithubredditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar. Explore nuestras recientes actualizaciones.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

Theme

© 2025 Red Hat