[opencms-dev] Inserting linked content using OpenCMS 5.x
Gavin, Ben
BGavin at SkylineTechnologies.com
Wed Dec 1 21:12:58 CET 2004
Unfortunately that won't work, because the engine doesn't seem to parse
the included files when they are body elements [at least not in that
way]. Any other ideas?
Thanks!
Ben
-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Thomas Maerz
Sent: Wednesday, December 01, 2004 1:40 PM
To: The OpenCms mailing list
Subject: Re: [opencms-dev] Inserting linked content using OpenCMS 5.x
"Gavin, Ben" <BGavin at SkylineTechnologies.com> writes:
> I need to reference one of the flash animations on the index page of
> the site. I have inserted the appropriate path within the OpenCMS
> hierarchy, but that path is not being resolved properly due to the
> fact that the OpenCMS system doesn't reside at the "root" of the
> server. I also can't seem to find a way to tell the OpenCMS system to
> dynamically derive the URL from the content location within OpenCMS
> [which I can do from, say, the JSP page templates]. Am I going to be
> forced to use JSP to do this properly, or is there some way to
> "notify" the OpenCMS system that my content needs to be parsed/updated
> to include the correct OpenCMS pathing information?
Maybe this helps:
| <%
| CmsJspActionElement cms = new CmsJspActionElement( pageContext,
| request, response ); cmsObject = cms.getCmsObject(); String uri =
| cms.getRequestContext().getUri();
|
|
| String pathToFlash = cms.link( "/system/gallerie/path/go/flash" ); %>
|
| <param name="movie" VALUE="<%= pathToFlash %>">
And take a look at CmsJspActionElement#link
Regards,
Thomas
_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please
visit http://mail.opencms.org/mailman/listinfo/opencms-dev
More information about the opencms-dev
mailing list