From: Matthew B. <mat...@ou...> - 2006-03-23 10:55:12
|
Alistair Young wrote: >> Ok so what happens when the class.forName() fails? > > localised error message But you don't want this at runtime. You want it at startup time. You need to be able to check that you have all the correct code so that when someone uses some obscure tool they don't get a nice error message. >> I'm still moving down in the direction of leaving templates and Facility > > maybe you've got other ideas then Matthew - I'm coming from a desperate > need to get away from Facility! I have some code that people are welcome to look at if they are interested but it's not documented (apart from JavaDoc). >> So how do the templates change so that the MyModules code doesn't get >> called? > > they don't call the plugin. e.g. out left.html has a call to Facility > to output the module links. Just remove that call and the plugin is > never called. Shouldn't having a different left.html be part of the plugin design so that it is difficult to get templates that call code that doesn't exist in the Java? -- -- Matthew Buckett, VLE Developer -- Learning Technologies Group, Oxford University Computing Services -- Tel: +44 (0)1865 283660 http://www.oucs.ox.ac.uk/ltg/ |