cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conal Tuohy" <>
Subject FW: how to call a view?
Date Tue, 04 Mar 2003 19:22:11 GMT
I had no luck with this message on Cocoon Users ... I'm wondering if anyone
here can answer this question about other ways to call a view?


-----Original Message-----
From: Conal Tuohy []
Sent: Tuesday, 4 March 2003 20:01
To: Cocoon Users (E-mail)
Subject: how to call a view?

I'm planning to implement a Lucene-based search, so I've been reading up on

It seems to me that a view can be selected just by adding
"?cocoon-view=some-view" to the URI. I've tried this and it's all OK.

But the documentation hints that there's another way, which I don't quite
understand (see bottom of

>Suggestions for further accessing views are:
>React on a "variant" HTTP header (nothing cocoon specific
>since the concept could be impelemented later on by other
>publishing frameworks).
>React on URI extension: for example http://host/path/file.view,
>that is something that can be done by configuring the sitemaps
>manually. (where http://host/path/index is the default
>resource, and index.content is the XML view of the content).

"configuring the sitemaps manually"? Can anyone explain how these 2
suggestions should be implemented? Would I need to have something like this?

<map:match pattern="**/*.*">
	<map:redirect-to uri="cocoon:/{1}/{2}?cocoon-view={3}"/>



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message