cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From KOZLOV Roman <>
Subject Re: image internationalization
Date Mon, 04 Mar 2002 09:36:49 GMT
Try {../2} instead of {2} because you have to refer to a sitemap of a
pattern and not to a sitemap of an action.

    Best regards.

Niket Anand wrote:

> Hi All,I want to configure pipeline such that in case of any locale
> language it will find the image from corresponding language mapped
> image,If locale lang is en then it should find image from
> images_en folder. But I am not able to assign {2} value in pipeline(it
> should be the name of image assigned in match pattern).I define image
> src as src="forms/submit.gif" in xsp or xml file.According to it, it
> should find image with name submit.gif from images_en folder.But here
> {2} value is not assigned(it assigned images_en\.gif), so it could not
> find image from images_en folder. <map:match pattern="**forms/**.gif">
>     <map:act type="locale">
>     <map:read src="images_{lang}/{2}.gif" mime-type="image/gif"/>
>     </map:act>
>    </map:match> Please guide me how to use this concept.Thanks,Niket

Please check that your question has not already been answered in the
FAQ before posting. <>

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

View raw message