forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephan E. Schlierf" <stephan.schli...@vsa.de>
Subject Re: java.lang.NullPointerException
Date Thu, 28 Oct 2004 14:16:51 GMT
Am Donnerstag, 28. Oktober 2004 12:11 schrieb Scherler, Thorsten:
> El jue, 28-10-2004 a las 11:29, Stephan E. Schlierf escribió:
> > > try:
> > > <linkmap label="linkmap" href="linkmap.html"
> > >    description="linkmap" wholesite='false'/>
> >
> > Unfortunately this does not work. As far as I can see I can't use the
> > "wholesite" attribute because I do not want to generate one pdf-file for
> > the whole project but different pdf-files for different groups of
> > documents. Therefore I used to define something like
> > ...
> > <map:parameter name="include"
> > value="/*[name()='site']/*[name()='wflow']"/> ...
> > in my special xmap-file. So only the element <wflow>...</wflow> and
its
> > children of site.xml are included.
> > Any other way to deactivate linkmap.html ?
>
> Sorry, I do not know how to desactivate the whole linkmap (IMO it is not
> possible). Maybe Nicola knows I think he introduced that feature. ;-)
>
> ...but maybe another idea for a work-around.
> Just introduce something like (I reckon you have to adjust that to your
> use case):
>  <map:parameter name="exclude" value="/*[name()='site']/*[name()='wflow'
> AND @exclude='true']]"/>
>
> Then just add the linkmap.html as child of <wflow/> with
> @exclude='true'. That may do the trick.

What I now did was in site.xml:
<all label="All" wholesite="false">
 <m_linkmap label="Sitemap" href="linkmap.html"/>
</all>
but the NullPointerException is still there.

hm, I'm quite stumped....
Stephan

Mime
View raw message