Thanks :) It works just fine now :)

-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Luca Morandini
Sent: 26. mars 2008 12:29
To: [email protected]
Subject: Re: Cocoon 2.2: Accessing resources (images, css)

Magnus Haraldsen Amundsen wrote:
> 
> <map:match pattern="**/images/*.gif">
>   <map:read src="resources/images/{1}.gif" mime-type="image/gif"/>
> </map:match>
> 
> I've tried it, but hasn't had any success in getting it working yet.

It should be {2} (not {1}) since you want to match the name of the GIF 
image and not its path.

Regards,

--------------------
    Luca Morandini
www.lucamorandini.it
--------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

IMPORTANT NOTICE:
This message may contain confidential information.
If you have received this e-mail in error, do not use, copy or
distribute it. Do not open any attachments. Delete it immediately from
your system and notify the sender promptly by e-mail that you
have done so. Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to