No replies
2 Posts

Pinned topic Component Paths in rendered content

‏2012-01-27T00:31:27Z |

When rendering content using the Cacher, paths to components/elements attached to the content are rendered with the path:

/wps/wcm/connect/Site/SiteArea/resources/first char of hash/second char of hash/hash/component filename

However when rendering content inside a JSP using WCM API the paths are:

/wps/wcm/connect/hash/component filename

How can I get paths similar to the Cacher when using the API?
I have tried the setPrefix function of RenderContext and various other alterations to paths when creating a context but with no luck.

Any help would be greatly appreciated.