Hi, Apologies for reposting this message, but I'm having trouble with what seems to be a rather basic issue.
I can't seem to get Turbine to (A) load screen classes for directories or (B) load a default screen class when a matching screen class doesn't exist. Is there a place in the docs I should be reading where I missed this? Thanks, WILL -----Original Message----- From: Will Glass-Husain [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 22, 2002 5:35 PM To: [EMAIL PROTECTED] Subject: Finding default classes Hi, I'm setting up my first Turbine app (servlet using velocity) and am having trouble getting the system to find my classes. I've been poring over the the documentation and have found it to be rather confusing on how and where to put files. (I've been working mostly with the Velocity HowTo) I've set up the TDK, and have left most settings at the default. My template directory structure is templates/app/screens/page1.vm templates/app/screens/filemanager/page2.vm templates/app/screens/filemanager/page3.vm I made classes (subclasses of VelocityScreen) com.forio.turbine.modules.screens.Default com.forio.turbine.modules.screens.Page1 com.forio.turbine.modules.screens.filemanager.Default com.forio.turbine.modules.screens.filemanager.Page2 (no Page3 intentionally) My Turbine properties says: module.packages=com.forio.turbine.modules,org.apache.turbine.modules services.VelocityService.file.resource.loader.path = /templates/app The results... http://localhost:8080/simadmin/servlet/simadmin/template/Page1.vm works fine http://localhost:8080/simadmin/servlet/simadmin/template/filemanager/Page2.v m http://localhost:8080/simadmin/servlet/simadmin/template/filemanager/Page3.v m both give the error: Horrible Exception: java.lang.ClassNotFoundException: Requested Screen not found: Turbine looked in the following modules.packages path: [com.forio.turbine.modules, org.apache.turbine.modules] How can I make these last two URL's work properly? I want to (A) have a default class rather than a class for every vm page, and (B) have some templates in subdirectories. What do I need to do? Thanks in advance, WILL -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
