#: Robert Van Overmeiren changed the world a bit at a time by saying on  
10/14/2005 1:24 AM :#
This gets me the page title...

  <%@ page import="info.magnolia.cms.util.Resource" %>
  String title =
Resource.getActivePage(request).getNodeData("title").getString();

...but don't know how to get the virtual url.



I can get the URL, replace the '.html' with nothing, then slice off the
whole leading part (protocol, domain, host, magnoliaAuthor), but that's
not very elegant or portable...


is request.getRequestURI solving the problem?

 [sorry for trimming the rest ... ]

./alex
--
.w( the_mindstorm )p.

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

Reply via email to