I've been using a structure called Private to make the private scope more
bearable (due to variables bug issue).  I can add the line <cfset
Private=StructNew()> to a base component constructor and extend from this
for consistency (not sure if it's worth it for one line, but it leads to
more flexibility for possible modifications to the top level component later
on).

Using this structure I can do things like

<cfset private.salary = arguments.salary>

and

<cfdump var="#private#">


If I try to modify the component.cfc file in <cfmx_wwwroot>\web-inf\cftags,
which is the basis for all components, I get an error:

Error Occurred While Processing Request

ColdFusion cannot determine the line of the template that caused this error.
This is often caused by an error in the exception handling subsystem.

Not that this is necessarily a good thing to do, but I was curious to see if
it was possible.

So, is it possible to modify the component.cfc file at all?  If not, is this
a bug or is it intentional?

Thanks,

Sam


----------------------------------------
Samuel R. Neff
Senior Software Engineer
B-Line Express
Advanced ColdFusion 5.0 Certified
Team Macromedia Volunteer for ColdFusion
----------------------------------------



______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to