Jonathan Price
unread,Oct 20, 2015, 7:41:15 PM10/20/15You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
I need a simple transient cfc, but I'm having a hard time getting it to load with accessable properties. Here's what I have:
component accessors=true {
property type="array" name="BillingItems";
public function init() {
return this;
}
public any function addBillingItem( required any item ) {
arrayAppend( variables.BillingItems, arguments.item );
}
}
This component lives in the same beans directory I use for all of my ORM stuff.
new generates 'Could not find the ColdFusion component' errors.
entityNew generates 'A CFC with entityname could not be found' errors
If I createObject this component, I get errors about BillingItems existing in variables when I call addBillingItem.
As a note, all of my ORM stuff works fine. I just wanted to make a helper transient this afternoon, and I realized I don't know how.
Help?