[opencms-dev] Anchors in navigation

Robert Petermeier robert2.0 at gmx.de
Fri May 12 13:59:40 CEST 2006


Hi Chaitanya!

Chaitanya schrieb:
> I need to add anchors to the navigation link, for eg if the navigation link
> is "/abc/adc.html ", i want it to be "/abc/adc.html#qwe" , is this possible
> in opencms 6.2.

No, I'm afraid this task is far more complex than what can be achieved 
with OpenCms and the underlying technologies.
;-)

Just kidding, what's the problem exactly? Java comes with an operator 
'+' for String object which you can use to construct the link:
     <a href="<%= ne.getResourceName() + "#qwe" %>" ... >...</a>


HTH,
Robert



More information about the opencms-dev mailing list