3-1-Tags:CFComponent

last edited byusericonlmajano on 23-Aug-2009

Contents

cfcomponent

Description

Creates and defines a component object; encloses functionality that you build in CFML and enclose within cffunction tags. This tag contains one or more cffunction tags that define methods. Code within the body of this tag, other than cffunction tags, is executed when the component is instantiated.

Category

Other

Implemented

Usage Syntax

<cfcomponent  
	[name="String"]
	[synchronized="Boolean"]
	[extends="String"]
	[displayname="String"]
	[display="String"]
	[hint="String"]
	[output="Boolean"]
	[style="String"]
	[namespace="String"]
	[serviceportname="String"]
	[porttypename="String"]
	[bindingname="String"]
	[wsdlfile="String"]
 />

[] = Optional attribute

Attributes

Name Type Required Default Description
name String No
synchronized Boolean No
extends String No Name of parent component from which to inherit methods and properties.
displayname String No
display String No
hint String No
output Boolean No yes: permits component method output no: suppresses component method output
style String No Specifies whether a CFC used for web services uses RPC-encoded style or document-literal style
namespace String No
serviceportname String No
porttypename String No
bindingname String No
wsdlfile String No

Example Usage

 
Download in other Formats:
markup Markup | pdf PDF | html HTML | word Word

comments Comments (0)

You need to login in order to comment!