[opencms-dev] image in opencms
Alessandro Magnolo
alessandro.magnolo at gmail.com
Fri Jul 29 18:27:03 CEST 2005
On 3/30/05, Claus Priisholm <cpr at codedroids.com> wrote:
> generally you should wrap references to images and other resources in
> the virtual filesystem with:
>
> cms.link("/foo/bar.gif")
>
> or if you prefer taglib
>
> <cms:link>/foo/bar.gif</cms:link>
>
> this will adjust the url to reflect the different workings of the
> offline/online/export modes that OpenCms supports.
Unfortunately, this works only for JSP pages. How should I reference a
VFS file in an editable xmlpage so that it can survive exports?
thank you
alessandro
More information about the opencms-dev
mailing list