3-1-Tags:CFComponent
last edited by
lmajano
on 23-Aug-2009
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 |
SideBar
User Login
Comments (