From: Alistair Y. <ali...@sm...> - 2005-05-25 19:46:46
|
I agree entirely Mathew. You inspired me to rake about in bod and I've switched to using the request. The template's process() method gets passe= d a Request object so BuildingServlet, which handles the debug switching form now sets the attribute instead of putting it in bodington.properties= . Don't know why I didn't see that earlier. Windows problems should now all be solved as no path info is used any mor= e. Anyway, it works a treat without touching bodington.properties I also changed the template's resource-file attribute to resources as it now supports multiple resources. Hopefully that should be it now: http://www.weblogs.uhi.ac.uk/sm00ay/?p=3D91 Alistair --=20 Alistair Young Senior Software Engineer UHI@Sabhal M=F2r Ostaig Isle of Skye Scotland > Alistair Young wrote: >>> is there a reason why this property can't be read at startup only? >> >> it changes based on what you choose in useroptions. If you're having >> trouble seeing some strings in templates, you go to useroptions and se= t >> up the localisation debug level and it tells you things like the bundl= e >> and classpath it was looking in. > > So is it a system wide property? If so who can change it? Just the > sysadmin? Does it need to persist between restarts of the context if it > is mainly used for debugging? If not could it be a context attribute? > How many questionmarks can I put in one paragraph? > >> maybe bodington.properties is the wrong place to store it - but I >> couldn't find anywhere else. > > I'd probably say it is the wrong place but Bodington doesn't exactly > give many other options. > > -- > +--Matthew Buckett-----------------------------------------+ > | VLE Developer, Learning Technologies Group | > | Tel: +44 (0) 1865 283660 http://www.oucs.ox.ac.uk/ | > +------------Computing Services, University of Oxford------+ > > > ------------------------------------------------------- > SF.Net email is sponsored by: GoToMeeting - the easiest way to collabor= ate > online with coworkers and clients while avoiding the high cost of trave= l > and > communications. There is no equipment to buy and you can meet as often = as > you want. Try it > free.http://ads.osdn.com/?ad_id=3D7402&alloc_id=3D16135&op=3Dclick > _______________________________________________ > Bodington-developers mailing list > Bod...@li... > https://lists.sourceforge.net/lists/listinfo/bodington-developers > |