Railo 4.2 Reference
Choose a tag:

Tag <CFDOCUMENTITEM>

Specifies action items for a PDF document created by the cfdocument tag.

Body

Dieses Tag darf einen Body haben, muss aber nicht.

Beispiel

	<cfdocumentitem
		[evalatprint="boolean"]
		[name="string"]
		type="string">

	[</cfdocumentitem>]
	
Diese tag kann auch innerhalb von cfscript verwendet werden
	<cfscript>
		documentitem
		[evalatprint="boolean"]
		[name="string"]
		type="string" {

	}
	</cfscript>

Attribute

Die Attribute für dieses Tag sind fest vorgegeben. Ausser den nachfolgend angegebenen Attributen dürfen keine weiteren verwendet werden.
Name Typ Required Beschreibung
evalatprint boolean No Determines if the contents of the cfdocumentitem tag body has to be evaluated at the time of printing the document.
  • true: evaluates the contents of the cfdocumentitem tag body only at the time of printing the document.
  • false (default): evaluates the contents of the cfdocumentitem tag body immediately. 
  • name string No used only for type bookmark, name of the bookmark to define. 
    type string Yes Specifies the action:
  • pagebreak (starts a new page at the location of the tag)
  • header (uses the text between in the body of the tag as the running header)
  • footer (uses the text between the the body of the tag as the running footer)
  • bookmark (set a bookmark, use the attribute name to define the name of the bookmark)