BoIndex.class of course in com.zhongyi.bo.modules.screens. but it is not execute. I think I will give turbine.it's difficult to assemble.
Paul Smith wrote: >Hi, > >Is your BoIndex class file in the following package: > >com.zhongyi.bo.modules.screens > >or is it just in: > >com.zhongyi.bo.modules > >Screen java files need to be in a screens sub package, and the actions go in >an actions subpackage (ie.com.zhongyi.bo.modules.actions) > >That's how Turbine 'locates' the matching class file for your template. > >cheers, > >Paul Smith > > > >>-----Original Message----- >>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] >>Sent: Monday, 18 November 2002 12:23 PM >>To: Turbine Users List >>Subject: Screen can't excute >> >> >>Hi >> >>I'm a newbie of turbine, I'm use the turbine 2.1 at first but >>there are >>some bugs like "redirect error".so I change the turbine 2.1 to turbine >>2.2-rc1.Now the site can run,but still have problem. >> >>I used BoIndex.vm as the first template of my site,and I >>wrote a screen >>BoIndex.java as my default screen extends from the >>VelocityScreen. But when i visit my site,the BoIndex.java can't >>execute,only the template diplayed (the VelocityScreen executed) >> >>my server is Resin-2.1.6 >> >>my configuration in TR.properties about the template >>============================================================== >>============= >>module.packages=com.zhongyi.bo.modules >> >>template.homepage=BoIndex.vm >> >>screen.homepage= >> >>template.login=BoLogin.vm >> >>screen.login=BoIndex >> >>template.error=Error.vm >> >>screen.error=VelocityErrorScreen >> >>screen.invalidstate=error.InvalidState >> >>default.doctype=Html40Transitional >> >>action.login=LoginUser >> >>action.logout=LogoutUser >> >>action.sessionvalidator=sessionvalidator.TemplateSessionValidator >> >>action.accesscontroller=AccessController >>====================================================================== >> >>is it a bug? or i configurated the TR properties incorrected. >> >> >> >> >> >> >> >> >> >>-- >>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]> > > > > > -- Roger Le (EPD) Phone 0571-85022088-3019 Email [EMAIL PROTECTED] ------------------------- Yahoo bigricecake
