Table of Contents
Previous Section
Note: The pageWithName: methods shown in the section "Action Methods" always create a new component object, even if page caching is turned on.
// WebScript Department.wos
id departments;
- init {
id departmentsPath;
[super init];
departmentsPath = [[[self application] resourceManager]
pathForResourceNamed:@"Departments.array"
inFramework:nil
languages:[[self session] languages]];
departments = [NSArray arrayWithContentsOfFile:departmentsPath];
return self;
}
Table of Contents
Next Section