forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scherler, Thorsten" <thors...@apache.org>
Subject Re: java.lang.NullPointerException
Date Thu, 28 Oct 2004 10:11:48 GMT
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.

HTH
thorsten


Mime
View raw message