Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

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
Nach oben
Red Hat logoGithubredditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

Theme

© 2025 Red Hat