Never mind, your setting them in the constructor. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bryan F. Hogan Sent: Friday, January 16, 2004 9:23 AM To: [EMAIL PROTECTED] Subject: RE: [CFCDev] How do you like your initialization?
Yes but where is your datasource name coming from? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Schreck, Thomas (PPC) Sent: Friday, January 16, 2004 9:22 AM To: [EMAIL PROTECTED] Subject: RE: [CFCDev] How do you like your initialization? I typically use an init() method to initialize my object. Usually I pass in a record ID and pull the data from a database to populate the properties of the component using each property's set method. I also set variables outside an init() method at the top of the component page. These variables get set just once when the class is instantiated. They are set before any method is called. I guess this is like a constructor method in Java. ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]
