Oh yeah. I guess that was an older error in the logs. 'getContextPath()' isn't returning anything, but my objective is to get the loaded pages name. Is there a 'loadPage.name()' method?
-----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] Sent: Thursday, January 05, 2006 5:31 AM To: [email protected] Subject: Re: [magnolia-user] Path.getOriginalURI(request) = cannot resolve symbol : class Path The correct method is request.getContextPath() instead of request.getContext(). --David (Robert Van Overmeiren) wrote: >OK, but the doc is there. >http://magnolia.sourceforge.net/21/apidocs/info/magnolia/cms/core/Path. >h >tml > >I haven't been able to find the 2.0 javadocs, but 2.0 doesn't have >core.Path.getOriginalURI(). It has util.Path.getURI(request), >getCacheDirectoryPath(), getHistoryFilePath(), getTempDirectoryPath(), >etc. > >I don't see any methods under 2.0's core that might get original URI. >I'm not seeing 'request.getContextPath()' work either, so don't see any >Magnolia methods, servlet methods, or any other kinds of methods that >will return the original URI in 2.0. > > cannot resolve symbol : method getContext () > location: interface javax.servlet.http.HttpServletRequest > String cxt = request.getContext(); > > >-----Original Message----- >From: [email protected] [mailto:[EMAIL PROTECTED] >Sent: Wednesday, January 04, 2006 11:48 AM >To: [email protected] >Subject: Re: [magnolia-user] Path.getOriginalURI(request) = cannot >resolve symbol : class Path > > > > > >>Are the Magnolia classes all documented like the sun java docs with >>field, constructor, & method summary & detail? >> >> >> >> >> >> > >I wish. Most of the javadocs are extremely terse and rarely helpful. >One of these days I'll be well versed enough in the source code (which >I visit on a daily basis) to submit some documentation patches. > >Sorry guys. Beautiful product. Just needs a little TLC in the javadoc >department when you write and/or update things. > >--David > >---------------------------------------------------------------- >for list details see >http://www.magnolia.info/en/magnolia/developer.html >---------------------------------------------------------------- > >---------------------------------------------------------------- >for list details see >http://www.magnolia.info/en/magnolia/developer.html >---------------------------------------------------------------- > > ---------------------------------------------------------------- for list details see http://www.magnolia.info/en/magnolia/developer.html ---------------------------------------------------------------- ---------------------------------------------------------------- for list details see http://www.magnolia.info/en/magnolia/developer.html ----------------------------------------------------------------
