From: Brian P. C. <bm...@bm...> - 2005-07-25 12:12:33
|
Have a look at the code where you return an uploaded file to the browser (I think it's in BuildingServlet). There's a bit in there that snips "/bodington/" out of a URL. The blurb around it mentions "context". I don't know enough about what's going on. I'm still shell-shocked from the weekend - I loaded Facilites.java into Eclipse and pressed Print. Took about a fiver's worth of paper. Regards, Brian > > the web application context > > name = bodington is hardwired into the code > I don't think so. I run it under all sorts of context names other > than bodington, some of which I can't repeat before the 9pm watershed ;) > > Alistair > > On 25 Jul 2005, at 12:50, Brian Peter Clark wrote: > > > On a not-unrelated point, but more distantly related, perhaps. I > > think that I am correct in saying that the web application context > > name = bodington is hardwired into the code. > > > > I suggest that this might cause problems in the app server world > > where you can set up the context at the press of a button at war > > deployment time. > > > > Also, people might not like seing bodington in all their urls. > > > > Regards, > > > > Brian > > > > > > > > > >> Peter Crowther wrote: > >> > >>>> From: [...] Alistair Young > >>>> res.generic: > >>>> strings_en.properties: > >>>> system=CLAN > >>>> > >>>> templates: > >>>> <localise id="system" /> > >>>> > >>>> change res.generic.strings_en.properties system=Weblearn for Ox > >>>> etc. > >>>> > >>>> Alistair > >>>> > >>> > >>> > >>> Thanks - that's a much more specific answer than I could give. > >>> Thought > >>> there'd be something in place. > >>> > >>> - Peter > >>> > >>> > >> > >> I have to confess that I took my cue from Alistair and put strings of > >> the form 'foo.bar=<!-- Bodington-->Bodington' into i18n resource > >> property files, which I realized was retarded at the time because it > >> makes sense in an un-i18n-ed template for finding rendering of the > >> system name, but not in a resource property file ;-). > >> > >> To my mind it would probably make sense to: > >> > >> * standardize 'system' on something more meaningful like > >> 'institutional.system.name'. > >> * ensure that all templates that require this import the same generic > >> resource file. > >> * ensure that this 1 name-value pair is of the form: > >> institutional.system.name=CLAN (i.e. *no* HTML comment that can > >> end up > >> in the title of non-compliant browsers!). > >> > >> I'm just flagging this up for now. Hey, I might even do this > >> myself, but > >> I'm working on QuickLinks right now. > >> > >> > >> Alexis > >> > >> > >> ------------------------------------------------------- > >> SF.Net email is sponsored by: Discover Easy Linux Migration > >> Strategies > >> from IBM. Find simple to follow Roadmaps, straightforward articles, > >> informative Webcasts and more! Get everything you need to get up to > >> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > >> _______________________________________________ > >> Bodington-developers mailing list > >> Bod...@li... > >> https://lists.sourceforge.net/lists/listinfo/bodington-developers > >> > >> > > > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > > from IBM. Find simple to follow Roadmaps, straightforward articles, > > informative Webcasts and more! Get everything you need to get up to > > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > > _______________________________________________ > > Bodington-developers mailing list > > Bod...@li... > > https://lists.sourceforge.net/lists/listinfo/bodington-developers > > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Bodington-developers mailing list > Bod...@li... > https://lists.sourceforge.net/lists/listinfo/bodington-developers > |