cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jos Snellings <Jos.Snelli...@pandora.be>
Subject StringTemplateGenerator
Date Fri, 27 Nov 2009 09:08:09 GMT
Dear,

Just a small question, testing:
When I get:
java.lang.NullPointerException
	at
org.apache.cocoon.stringtemplate.StringTemplateGenerator.constructCacheKey(StringTemplateGenerator.java:75)

I notice that StringTemplateGenerator has two constructors: one with a
'source' argument, and one without.
The one without source argument is called.
Does this make sense? Am I making a mistake in the sitemap?
Here's the code:
  <map:match pattern="testcases/{name}.st">
      <map:generate src="testcases/{map:name}.st"
type="string-template"/>
       <map:serialize type="xhtml"/>
  </map:match>

Thanks,
Jos


Mime
View raw message