forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@apache.org>
Subject Re: How to create an Indirect Link
Date Mon, 03 Jan 2005 23:14:49 GMT
Andy J wrote:
> Hi. . .  I'm trying to create an indirect link and have not had
> success.  What I'm attempting to do is reference a placeholder page so
> that anywhere in my tree can refer to a file that's actually located
> at xdocs/nocontent.html.
> 
> This is what I put in my site.xml:
> 
>  <site label="FCM" href=""
> xmlns="http://apache.org/forrest/linkmap/1.0" tab="Home">
>    <nocontent href="nocontent.html"/>
>    . . .
>    <links label="Documentation" dir="docs/" description="General Tool
> Documentation">
>       <docfoo label="Foo" href="site:nocontent"/>
>       <docbar label="Bar" href="site:nocontent"/>
>       <docbaz label="Baz" href="site:nocontent"/>
>    </links>
> 
> The example in the documentation is a bit confusing to me because the
> sample used is an element named "<link>" ...

What documentation are you referring to?

> ... - so now I'm not sure if
> somehow I need a child element within my object node that's called
> "<link>".

No.

> I suppose not because I tried and it didn't work.  In the
> setup above I get this error:
>   X [0]  docs/site:nocontent   BROKEN: No pipeline matched request:
> docs/site:nocontent
> 
> I've tried building various paths in the docfoo/bar/baz nodes such as:
> href="../site:nocontent" and href="/site:nocontent" or defining the
> initial reference like: <nocontent href="/nocontent.html"/> but to no
> avail.
>
> I'm now convinced I'm just not doing it right!  Any suggestions?

http://forrest.apache.org/faq.html#ignoring_javadocs

--David

Mime
View raw message