Hello,

My org still runs 2.0.3, but I've done a bit of development on 2.1. With
2.1, I've been able to use 'loadPage' to reuse content, if I get the
original URI and use loadPage again to reload the current page after the
shared content.

To get the original URI, I've used...

String page_uri = (info.magnolia.cms.core).Path.getOriginalURI(request);
&
<c:set var="page_uri"><%=
(info.magnolia.cms.core).Path.getOriginalURI(request) %></c:set>
&
String page_uri =
(String)request.getAttribute(info.magnolia.cms.core.Path.JAVAX_FORWARD_S
ERVLET_PATH);



I've returned to my 2.0.3 setup to try & implement content reuse. With
all 3 of the above syntaxes, I get this in the log...

  cannot resolve symbol : class Path 


Are the syntaxes for getting the original URI different between 2.0 &
2.1?
What can I use in 2.0 to get the original URI?

Regards,
Bob V




----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to