From: <web...@st...> - 2003-03-24 17:19:28
|
Check this line.. : #if ($crossstate.ShowDetails) { #contentString ($collection, $crossstate, $entitytype } Notice the missing ")" ? That produce this not-quite-correct stack-trace: org.webmacro.PropertyException: #parse com/coredocument/impl/ui/corepage/corelets/collectionBrowser/CollectionTreeElement.wm: Unable to get template org.webmacro.ResourceException: Error parsing template com/coredocument/impl/ui/corepage/corelets/collectionBrowser/CollectionTreeElement.wm org.webmacro.engine.BuildException: Error parsing template: FileTemplate:/data/devel/endre/new/coredoc/webapp/WEB-INF/classes/com/coredocument/impl/ui/corepage/corelets/collectionBrowser/CollectionTreeElement.wm org.webmacro.engine.ParseException: Parser Exception org.webmacro.parser.ParseException: No such directive #contentString at /data/devel/endre/new/coredoc/webapp/WEB-INF/classes/com/coredocument/impl/ui/corepage/corelets/helpers/Recurser.wm:53.2 at org.webmacro.directive.IncludeDirective.makePropertyException(IncludeDirective.java:536) at org.webmacro.directive.IncludeDirective.getTemplate(IncludeDirective.java:465) at org.webmacro.directive.IncludeDirective.getThingToInclude(IncludeDirective.java:433) at org.webmacro.directive.IncludeDirective.write(IncludeDirective.java:354) at org.webmacro.engine.Block.write(Block.java:135) at org.webmacro.engine.WMTemplate.write(WMTemplate.java:262) ... "no such directive".. well, it's a macro, goddamnit! And it's there! Adding the missing ")" fixes everything. -- Mvh, Endre Stølsvik M[+47 93054050] F[+47 51625182] Developer @ CoreTrek AS - http://www.coretrek.com/ CoreTrek corporate portal / EIP - http://www.corelets.com/ |