|
Mailing Lists
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
Coldfusion Packages
> ...in the same directory (and its subdirectories)Justin Scott 12/31/11 03:19 P Are subdirectories considered part of the parent directory package? Or (in the case of one parent and one child directory) be considered two separate packages? The reason I ask is because I came across a statement, "A package is a group of components in the same directory (and its subdirectories) on the Coldfusion server." Statement was found in book "Advanced Macromedia Coldfusion MX 7 Application Development" page 578. When testing, if I used the attribute access="package" in the subdirectory, I couldn't access the function from the parent directory, it worked for access="public". > ...in the same directory (and its subdirectories) This means you can access components and their methods that are in subdirectories of the current component, but not necessarily the other way around. From within the subdirectory, the components that are in the parent folder are not "in the same directory (or its subdirectories)" and are therefore not part of the "package" as defined from that component's "point of view". -Justin Scott
|
May 22, 2013
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||