hi there.
i have the following
customer.cfc
instanc e.firstname = 'john';
instance.address = createobject(address blah blah);
when i want to set a value in the address object, i hvae to pass the
values to a method int he cuystomer object like so
function setaddressProperty(proeprtyname,value){
INSTANCE.ADDRESS.setproperty(arguments.propertyname,arguments.value);
}
which calls thhis fucntion in the address object
function setProperty(proeprtyname,value){
INSTANCE[arguments.propertyname]=arguments.value;
}
is there way i can access the address.setproperty method form outside of
the customer object directly? i can t seem to make the instance.address
object within the customer public
i have been doing it like this for ages, but figure that there must be a
way,
cheers
jamie
---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/