classesDirectory is a variable. One way to quickly find the value, just before the code below put: <cfdump var="#classesDirectory#"><cfabort> That will get you the name of the directory that should contain a resources subdirectory with a resources.cfc file.
Alternatively, searching the file system should come up with a short list of directories called "resources" or files called "resources.cfc" Also, I think if you are new to coldfusion a list like cftalk is more likely to get you answers (http://www.houseoffusion.com/groups/cf- talk/) - this list is mainly for more in-depth discussions relating to OO programming in CF. Best Wishes. Peter On Jun 7, 2009, at 12:40 PM, Diego Alvarez wrote: > > Hi there!! > > I'm new to ColdFusion. Checking code I saw these lines: > > <cfset resources = CreateObject('component', > '#classesDirectory#.resources.resources') /> > <cfset getCategories = resources.getResourceCategories()> > > Can somebody explain what they mean? I guess there should be > a .resources file in the #classesDirectory#, but when I check in the > server there is no sucha directory and thus no resources file... what > should I do? > > Thanks, > > Diego > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CFCDev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cfcdev?hl=en -~----------~----~----~----~------~----~------~--~---
