Tags · Functions · Objects
Lucee Tag Reference
Choose a tag:

Tag <CFARGUMENT>

Allows subtag data to be saved with the base tag. Applies only to custom tags.

Body

This tag can't have a body.

Example

	<cfargument
		[default="any"]
		[displayname="string"]
		[hint="string"]
		name="string"
		[passby="string"]
		[required="boolean"]
		[type="string"] ... >
	

Attributes

This tag has a fixed definition of attributes (see below). In addition it allowes to use any additional attribute.
Name Type Required Description
default any No default value of the argument 
displayname string No name to display (only used by components) 
hint string No hint to the argument (only used by components) 
name string Yes The name of the argument 
passby string No should the argument passed as reference (default) or as a value 
required boolean No is argument required or not 
type string No the type of the argumentany (array, binary, boolean, date, guid, numeric, query, string, struct, uuid)