cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Wechner <michael.wech...@wyona.org>
Subject [SUMMARY] Re: Resolver within XSP
Date Mon, 12 Aug 2002 12:57:41 GMT


Vadim Gritsenko wrote:

>>From: Michael Wechner [mailto:michael.wechner@wyona.org]
>>
>>Hi
>>
>>How can I access the Resolver from within an XSP in order
>>
> 
> this.resolver


Yes, that is the hint I needed:

org.apache.cocoon.environment.Source source=this.resolver.resolve("");
String sitemapPath=source.getSystemId();

Thanks Vadim

Michael



> 
> 
> 
>>to determine the absolute sitemap path from where the XSP
>>was called?
>>
> 
> URI or file name?
> 
> 
> 
>>Or is there another method to do this within an XSP?
>>
> 
> request.getSitemapURI()
> 
> 
> Vadim
> 
> 
>>Thanks in advance
>>
>>Michael
>>
> 
> 
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
> 



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message