El dom, 12-02-2006 a las 19:52 +0100, Jörn Nettingsmeier escribió:
> Jörn Nettingsmeier wrote:
> >
> > Thorsten Scherler wrote:
> >>
> >> Please test the new generator and report bugs to our issue tracker and
> >> problems to this list.
> >> I added a small example to the default pub (tutorial.html -> eng only)
> >> which is actually only a showcase.
> >> salu2
> >
> > i just played around with the generator. since i want to access the
> > metadata from my page2shtml.xsl, i added the following to my publication
> > sitemap:
> > <map:match pattern="lenyabody-*/*/*/*/**">
> > <map:aggregate element="cmsbody">
> > <map:part src="cocoon://modules/sitetree/{2}/{3}/breadcrumb/{5}.xml"/>
> > <map:part src="cocoon://modules/sitetree/{2}/{3}/tabs/{5}.xml"/>
> > <map:part src="cocoon://modules/sitetree/{2}/{3}/menu/{5}.xml"/>
> > <map:part src="cocoon://modules/sitetree/{2}/{3}/search/{5}.xml"/>
> > <map:part
> > src="cocoon:/{2}/{3}/meta?docid={page-envelope:document-id}"/>
> > <map:part src="{resource-type:format-xhtml}"/>
>
>
> the LenyaMetaDataGenerator barfs when i create a new document:
>
> The source
> [context://lenya/pubs/politik/content/authoring/personen/index_en.xml.meta]
> does not exist!
Yeah, that is the default behavior, if you do not specify which language
you want:
org.apache.lenya.cms.cocoon.generation.LenyaMetaDataGenerator
....
if (this.language == null) {
this.language = pub.getDefaultLanguage();
}
...
HTH
salu2
--
thorsten
"Together we stand, divided we fall!"
Hey you (Pink Floyd)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]