cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tobia Conforto <>
Subject Re: Cocoon and content-negotiation
Date Thu, 29 Nov 2007 15:35:51 GMT
Severin Gehwolf wrote:
> select a particular XML file with the best-matching language extension
> according to users Accept-Language HTTP headers.

This is usually achieved in Cocoon using the LocaleAction:

Other kinds of content negotiation, such as detecting patterns in the
HTTP Accept header, can be performed with the RegexpHeaderSelector:
or similar selectors and matchers that access the HTTP headers.


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

View raw message