From: Naomi M. <na...@sm...> - 2006-06-21 13:22:20
|
> how the system hangs together and generates the html pages It all starts with the monstrous org/bodington/servlet/facilities/=20 Facility class, get used to it you'll be seeing a lot of it. If you =20 look in the bodington/tomcatadd/webapps/bodington/templates/=20 style_default/default directory, you'll find lots of html files which =20= are known as templates, these use methods in the Facility class to =20 generate html pages dynamically. For instance in an html file you'll see code like the following: <call> <target method=3D"methodName"> <variable name=3D"facility"/> </target> <parameters> <variable name=3D"request"/> <variable name=3D"writer"/> </parameters> </call> This tells the template to go to Facility and to the method =20 (methodName) above. This method will (usually) output lots of =20 hideous html - viola! The generated html files are preceded with =20 bs_template_ at runtime. i.e. menu.html would become =20 bs_template_menu.html. The thing I did at first was track through the code starting from a =20 template class and then to Facility. Things are slightly complicated =20= by the fact that these are 2 flavours of template too, 'old' and =20 'new', the code above is the easiest thing to look for IMO. Are you deploying on Windows? Naomi (newby too). On 21 Jun 2006, at 10:35, Ian Boseley wrote: > Hi, > > > > I am completely new to Bodington. However I am having diffculty =20 > trying to understand how the system hangs together and generates =20 > the html pages. I have been looking into the code and it doesn=92t =20 > seem very intuitive. Is there any documentation available, =20 > including a database schema, for developers? > > > > I have scoured the bodington Wiki and the bodington.org site but =20 > there seems to be little information generally available for the =20 > developer. > > > > I have imported the source into my deveolpment environment, =20 > eclipse, but am unable to deploy locally to my tomcat server. I =20 > have been building a .war file using the build.xml everytime I want =20= > to see what affect a change I have made to the look and feel of the =20= > site which is really slowing the process down. > > > > Can somebody tell me the file/package structure I need in eclipse =20 > to deploy directly to my local Tomcat installation? > > > > Hope someone can help. > > > > Ian > > _______________________________________________ > Bodington-developers mailing list > Bod...@li... > https://lists.sourceforge.net/lists/listinfo/bodington-developers |