hugh
06/04/2024, 11:54 PM```
//forms.cfc
`component accessors="true"`
{
cfproperty (name="db", default="path to dropbox", required="false" )
public any function init()
{
writeOutput( getDropbox() )
return this
}//end
//end component
}
```
In an index.cfm file I try to create an instance using new forms() and I get an error that says: Variable CFPROPERTY is undefined
Any idea what gives?bdw429s
06/04/2024, 11:58 PMlike
this
bdw429s
06/04/2024, 11:58 PMbdw429s
06/04/2024, 11:59 PMcomponent {
property name="db" default="path to dropbox" required="false";
}
hugh
06/05/2024, 12:05 AMbdw429s
06/05/2024, 12:07 AM