[opencms-dev] <cms:link> tag - when to use?

Christoph Kukulies kuku at physik.rwth-aachen.de
Tue Nov 11 11:00:34 CET 2014


I'm importing a site from Wordpress into OpenCms and while looking at 
the links used in the original page
I'm asking myself whether I should surround every link, e.g. a page that 
is invoked behind a menu item,
with a "<cms:link>/actual/link/</cms:link>". Is it necessary, what is 
the benefit?

Side note: when I have the jsp open in the workplace and I'm cut/pasting 
a such modified code, by
CTRL-A selecting all and pasting (CTRL-V) the modified code with all the 
new links I'm ending in a
script error, saying that a script on the page is no longer functioning.


-- 
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de



More information about the opencms-dev mailing list