From: Alexis O'C. <ale...@co...> - 2005-07-13 10:31:45
|
Alistair Young wrote: > I've also committed all the localised templates from style_default/default. > The following templates do not compile at the moment: style_default\default\applettop.html style_default\default\error403.html style_default\default\login_anon.html style_default\default\login_step4.html The commonality seems to be that they contain localized calls to Facility methods, e.g. <target method="variable"><variable name="facility"/></target> <parameters> <variable name="request"/> <variable name="writer"/> <literal type="String"><localise id="page.title.text"></localise></literal> </parameters> I tried de-localizing such markup and it compiled OK. Is there some code missing to handle these cases? Alexis P.S. The 'compile-templates' target of the build.xml is very handy in this regard. Adding the attribute 'failonerror=no' to the template-compiler element will show all these up, otherwise it just baulks at the first failure. |