cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject Re: language aware images
Date Mon, 07 May 2001 16:41:24 GMT
On Mon, 7 May 2001, giacomo wrote:

> On Mon, 7 May 2001, Torsten Curdt wrote:
>
> > Sorry, if this is too OT but...
> > I was thinking about something like this:
> >
> >  <map:match pattern="images/**.gif">
> >     <map:act type="lang-select">
> >      <map:read src="images/{lang}/{1}.gif" mime-type="image/jpg"/>
> >     </map:act>
> >  </map:match>
> >
> > Unfortunately this is predestined to give strange
> > browser caching behavior when changing the language.
>
> Wrong syntax. It should be:
>
>       <map:read src="images/{lang}/{../1}.gif" mime-type="image/jpg"/>
>
> Giacomo
>
> BTW: can you move these question to the cocoon-user list because they
> don't have anything to do with the development.

note your answer doesn't address his vary-on-language concerns, which may
well tie into dev discussions. as a general rule, though, you're on the
money.

- donald


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message