cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carmona Perez, David" <DPerez...@fcc.es>
Subject RE: Anchor in an action
Date Wed, 07 Apr 2004 13:53:20 GMT
***********************
Este correo ha sido procesado por el antivirus del Grupo FCC.
***********-***********


I'm using Cocoon version 2.1.2

Here is a snippet that doesn't work:

<map:act type="pon-idioma" name='i'/>
	<map:match pattern="**/area">
		<map:act type="area">
			<map:redirect-to uri='/{#i:myvar}'/>
		</map:act>
	</map:match>
</map:act>

-----Mensaje original-----
De: Upayavira [mailto:uv@upaya.co.uk]
Enviado el: miƩrcoles, 07 de abril de 2004 15:25
Para: users@cocoon.apache.org
Asunto: Re: Anchor in an action

Carmona Perez, David wrote:
>
>Hi all,
>
>I've read in the wiki, http://wiki.cocoondev.org/Wiki.jsp?page=SitemapVariableSubstitution,
the following:
> 
>
Ah, a useful link.

>you use the new anchor syntax. With sitemap variable anchors you name a specific level
and refer to them directly by the specified name.
>
> ...
> <map:match pattern="images/*.gif" name="root">
>    <map:act type="resource-exists">
>      <map:parameter name="url" value="resources/images/{1}.gif">
>      <!-- new level -->
>      <map:read src="resources/images/{#root:1}.gif" mime-type="images/gif"/>
>    </map:act>
> </map:match>
> ...
>
>It seems not to work. In my case I attach it to an action instead of a matcher.
>
>Any help will be appreciated.
> 
>
What version of Cocoon are you using?

Support for 'name' is there in both action and match in the code, it seems.

Can you provide a sample of sitemap code that doesn't work?

Upayavira


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




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


Mime
View raw message