You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Michael Wechner <mi...@wyona.org> on 2002/08/12 14:20:07 UTC
Resolver within XSP
Hi
How can I access the Resolver from within an XSP in order
to determine the absolute sitemap path from where the XSP
was called?
Or is there another method to do this within an XSP?
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
[SUMMARY] Re: Resolver within XSP
Posted by Michael Wechner <mi...@wyona.org>.
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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
RE: Resolver within XSP
Posted by Vadim Gritsenko <va...@verizon.net>.
> From: Michael Wechner [mailto:michael.wechner@wyona.org]
>
> Hi
>
> How can I access the Resolver from within an XSP in order
this.resolver
> 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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>