OK, I noticed this before the error message I showed below.
... [DEBUG] PageLoader - -Loading Page Default from the Assembler Broker [DEBUG] JavaBaseFactory - -Class Fragment is Default [DEBUG] JavaBaseFactory - -Trying com.roamware.rwsite.modules.pages.Default [DEBUG] JavaBaseFactory - -com.roamware.rwsite.modules.pages.Default: Not found [DEBUG] JavaBaseFactory - -Trying org.apache.turbine.modules.pages.Default [DEBUG] JavaBaseFactory - -org.apache.turbine.modules.pages.Default: Not found [DEBUG] JavaBaseFactory - -Returning: null ... The second last line seems to suggest that the standard package does not have a Default.class for the page. It does however have a DefaultPage.class though? This is the same as T2.2 but now it appears to be looking for Default not possibly DefaultPage. I have services.VelocityService.template.extension=vm services.VelocityService.default.page = VelocityPage services.VelocityService.default.screen=VelocityScreen services.VelocityService.default.layout = VelocityOnlyLayout services.VelocityService.default.navigation=VelocityNavigation services.VelocityService.default.error.screen = VelocityErrorScreen services.VelocityService.default.layout.template = Default.vm I have the Default.vm for the template in the correct path. Does this now mean I have to add a Default.class for layout? In T2.2 you could rely on the VelocityOnlyLayout to take care of it? Thanks David -----Original Message----- From: David Wynter [mailto:[EMAIL PROTECTED] Sent: 15 July 2003 12:14 To: Turbine-User Subject: Some changes required for T2.3 Hi, I have followed the wiki on migrating T2.2->T2.3 and the one on VelocityOnlyLayout. But it appears that when you change from T2.2 to T2.3 there are other changes also required if you are starting from an exisitng T2.2 app. When I start up I get: ... [ERROR] Turbine - - Requested Layout not found: Default Turbine looked in the following modules.packages path: [com.roamware.rwsite.modules, org.apache.turbine.modules] <java.lang.ClassNotFoundException: Requested Layout not found: Default Turbine looked in the following modules.packages path: [com.roamware.rwsite.modules, org.apache.turbine.modules] >java.lang.ClassNotFoundException: Requested Layout not found: Default Turbine looked in the following modules.packages path: [com.roamware.rwsite.modules, org.apache.turbine.modules] at org.apache.turbine.modules.LayoutLoader.getInstance(LayoutLoader.java:209) at org.apache.turbine.modules.LayoutLoader.exec(LayoutLoader.java:138) at org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:187) at org.apache.turbine.modules.Page.build(Page.java:91) at org.apache.turbine.modules.PageLoader.exec(PageLoader.java:135) at org.apache.turbine.Turbine.handleException(Turbine.java:1008) at org.apache.turbine.Turbine.doGet(Turbine.java:867) ... I never needed a Default.class in the ...modules.layout package previously, is this new or have I messed something up? What goes in this class if it is now required? Thanks David Wynter roamware Ltd. (+44) (0) 208 922 7539 B. (+44) (0) 7879 605 706 M. www.roamware.co.uk --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
