You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Michael Wechner <mi...@wyona.com> on 2004/08/06 14:28:25 UTC

is parameter-doctype.xmap being cached?

It seems to me that the doctype sitemap parameter-doctype.xmap is being 
cached. Is that so? How is being called anyway?

Thanks

Michi

-- 
Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com              http://cocoon.apache.org/lenya/
michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: is parameter-doctype.xmap being cached?

Posted by Michael Wechner <mi...@wyona.com>.
Andreas Hartmann wrote:

>
> global-sitemap.xmap:
>
>       <!-- uri-parameter/{publication-id}/{parameter}/{area}/{uri} -->
>       <map:match pattern="uri-parameter/*/*/*/**">
>         <map:mount uri-prefix="uri-parameter/{1}/{2}/" 
> src="lenya/pubs/{1}/parameter-{2}.xmap" check-reload="true" 
> reload-method="synchron"/>
>       </map:match>


thanks very much for the pointer, but it's strange nevertheless, because
it doesn't seem to be reloaded when something is being changed during 
runtime. Changes are being recognized after restarting.

Any idea?

Thanks

Michi

>
> -- Andreas
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: lenya-user-help@cocoon.apache.org
>
>


-- 
Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com              http://cocoon.apache.org/lenya/
michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: is parameter-doctype.xmap being cached?

Posted by Andreas Hartmann <an...@apache.org>.
Michael Wechner wrote:
> Andreas Hartmann wrote:
> 
>> Michael Wechner wrote:
>>
>>> It seems to me that the doctype sitemap parameter-doctype.xmap is 
>>> being cached. Is that so? How is being called anyway?
>>
>>
>>
>> By the URIParametrizer (it sends a cocoon:// request IIRC).
> 
> 
> 
> ok (src/java/org/apache/lenya/cms/cocoon/acting/URIParametrizerAction.java)
> 
> but where is it configured which sitemap to use (resp. 
> parameter-doctype.xmap)

[...]

> Is it being concat somehow?

global-sitemap.xmap:

       <!-- uri-parameter/{publication-id}/{parameter}/{area}/{uri} -->
       <map:match pattern="uri-parameter/*/*/*/**">
         <map:mount uri-prefix="uri-parameter/{1}/{2}/" 
src="lenya/pubs/{1}/parameter-{2}.xmap" check-reload="true" 
reload-method="synchron"/>
       </map:match>

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: is parameter-doctype.xmap being cached?

Posted by Michael Wechner <mi...@wyona.com>.
Andreas Hartmann wrote:

> Michael Wechner wrote:
>
>> It seems to me that the doctype sitemap parameter-doctype.xmap is 
>> being cached. Is that so? How is being called anyway?
>
>
> By the URIParametrizer (it sends a cocoon:// request IIRC).


ok (src/java/org/apache/lenya/cms/cocoon/acting/URIParametrizerAction.java)

but where is it configured which sitemap to use (resp. 
parameter-doctype.xmap)

grep -rl parameter-doctype.xmap src/*
src/documentation/content/xdocs/docs/components/publication/sitemaps.xml
src/documentation/content/xdocs/docs/components/resource-types/index.xml
src/documentation/content/xdocs/docs/components/uri-handling/URIParametrizer.xml
src/webapp/lenya/pubs/blog/CVS/Entries
src/webapp/lenya/pubs/blog/parameter-doctype.xmap
src/webapp/lenya/pubs/default/CVS/Entries
src/webapp/lenya/pubs/default/parameter-doctype.xmap
src/webapp/lenya/pubs/default/content/authoring/tutorial/new_doctype/index_en.xml
src/webapp/lenya/pubs/docs-new/content/xdocs/docs/components/publication/sitemaps.xml
src/webapp/lenya/pubs/docs-new/content/xdocs/docs/components/resource-types/index.xml
src/webapp/lenya/pubs/docs-new/content/xdocs/docs/components/uri-handling/URIParametrizer.xml

Is it being concat somehow?

Thanks

Michi

> -- Andreas
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: lenya-user-help@cocoon.apache.org
>
>


-- 
Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com              http://cocoon.apache.org/lenya/
michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: is parameter-doctype.xmap being cached?

Posted by Andreas Hartmann <an...@apache.org>.
Michael Wechner wrote:

> It seems to me that the doctype sitemap parameter-doctype.xmap is being 
> cached. Is that so? How is being called anyway?

By the URIParametrizer (it sends a cocoon:// request IIRC).

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org