From: Tim P. <ti...@pa...> - 2004-04-14 14:53:59
|
On Wednesday 14 April 2004 2:20 pm, Keats wrote: > Right. The template has no knowledge of what directory it was loaded f= rom, > unless you supply this to the context. Eg, > > #include as template "$CurrentSubDir/foo.wm" > > Keats The sort of example I have is=20 Main.wm includes=20 top.wm, bottom.wm, specialisedbit.wm. Using Tomcat I am having to put=20 #include as template 'org/paneris/app/view/top.wm' when it would be nicer to be able just to include=20 the bits from the 'current' directory.=20 cheers tim |