Railo 4.2 Reference
Choose a tag:

Tag <CFDIV>

Creates an HTML tag with specified contents and lets you to use bind expressions to dynamically control the tag contents.

Body

Dieses Tag darf einen Body haben, muss aber nicht.

Beispiel

	<cfDiv
		[bind="string"]
		[bindonload="boolean"]
		[id="string"]
		[onbinderror="string"]
		[tagname="string"]>

	[</cfDiv>]
	

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
bind string No A bind expression that returns the container contents. Note: If a CFML page specified in this attribute contains tags that use AJAX features, such as cfform, cfgrid, and cfwindow, you must use a tag on the page with the tag. For more information, see cfajaximport. 
bindonload boolean No - true (executes the bind attribute expression when first loading the tag.
- false (does not execute the bind attribute expression until the first bound event)
To use this attribute, you must also specify a bind attribute 
id string No The HTML ID attribute value to assign to the generated container tag. 
onbinderror string No The name of a JavaScript function to execute if evaluating a bind expression results in an error. The function must take two attributes: an HTTP status code and a message. 
tagname string No The HTML container tag to create.