cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylv...@apache.org>
Subject Re: Sitemap Reloading & Flow: Crashes
Date Fri, 01 Oct 2004 11:57:08 GMT
Carsten Ziegeler wrote:

>Vadim Gritsenko wrote:
>  
>
>>Carsten Ziegeler wrote:
>>
>>    
>>
>>>Starting with 2.2 you could use the getSitemapPath() method of the 
>>>Request object (you can get the request object using the 
>>>ContextHelper).
>>>      
>>>
>>Does it return sitemap file name? ... Nope. I guess you've 
>>not noticed on the bottom of the email I mentioned:
>>
>>    
>>
>Yepp, you're right, I didn't see that...sorry! (I'm really growing old)
>
>Now, what about passing the complete sitemap uri to the Interpreter?
>The interpreter is looked up somewhere in the tree processor (FlowNode?)
>and the tree processor knows the complete uri, so we could pass it
>there to the interpreter.
>  
>

That could be a solution, which only requires to add a public 
setInterpreterID(String id). For the record, the change was required 
because of scope clashes between sitemaps existing in the same directory [1]

Sylvain

[1] http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=108906222022009&w=2

-- 
Sylvain Wallez                                  Anyware Technologies
http://www.apache.org/~sylvain           http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }


Mime
View raw message