first glance says you are mixing your classes and your velocity modules together - any particular reason?
your classes beling in the class directroy structure that you have noted. your velocity modules (templates) belong in WEB-INF/templates/vm... note that "reqular" (meaning non-Jetspeed's portal type) templates belong in the usual Turbine directory structure of layouts, navigations, screen (with the addition of Jetspeed's html directory - this separates them from the wml templates. this differs from the portlet templates, which belong in the portal subdirectory. note that the portal subdirectory for templates includes only those templates which are related to registered portals recapping: regular templates belong in: ...WEB-INF/templates/vm/layouts/html or ...WEB-INF/templates/vm/navigations/html or ...WEB-INF/templates/vm/screens/html templates used in conjunction with a portal (classes registered in a *.xreg file) belong in: ...WEB-INF/templates/vm/portlets/html classes belong in: ...WEB-INF/classes (with a whole bunch of subdirectory rules) the naming convention is extremely important also. use the simplest name for templates that you can. use all lower case if possible. Turbine has some documentation about this. Jetspeed has no additional documentation, but since Jetspeed "sits on top of" Turbine this should be understood. these are my findings through examination - any inaccuracies were not intended. ps don't forget to look at the controllers/html and controls/html directories under ...WEB-INF/templates/vm/ - the same level as portlets - these templates and controls are what make Jetspeed great (versatile, flexible, great presentation with good decoration). Ray ---------- From: [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]] Reply To: Jetspeed Users List Sent: Friday, December 14, 2001 11:19 AM To: Jetspeed Users List Subject: path issues with turbine resources Hello, I am having a bit of trouble with my vm templates path that I set up. I am now customizing my jetspeed by creating my own class structure which goes like this: /WEB-INF/classes/com/intra/templates/vm/portlets /WEB-INF/classes/com/intra/modules/actions/portlets In my turbineresources.prop file I have added to my services.VelocityService.file.resource.loader.path the extension /WEB-INF/templates/vm, /WEB-INF/Classes/com/intra/templates/vm (Ive also tried it with Classes lowercase, since windows shows it as lower and Forte4j shows it as upper) In my tubineresouces.velocity i have this set services.TurbineVelocityService.file.resource.loader.path = /WEB-INF/templates/vm,/WEB-INF/Classes/com/intra/templates/vm and module.packages=com.intra.modules,org.apache.jetspeed.modules,org.apache .turbine.modules My template and my action class cannot be found. Any thoughts that may inlighten are greatly appreciated. THanks. Lionel __________________________________________________ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.yahoo.com -- 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]>
