cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Upayavira ...@upaya.co.uk>
Subject Re: Anchor in an action
Date Thu, 08 Apr 2004 11:18:55 GMT
Carmona Perez, David wrote:

>***********************
>Este correo ha sido procesado por el antivirus del Grupo FCC.
>***********-***********
>
>
>I get an exception of anchor not found.
>  
>
The simplest, and most immediate question I'd ask is, are you able to 
upgrade to 2.1.5-dev (from CVS)? As the this code has been completely 
rewritten, and thus may prevent your problem.

Regards, Upayavira

>-----Mensaje original-----
>De: Upayavira [mailto:uv@upaya.co.uk]
>Enviado el: jueves, 08 de abril de 2004 12:42
>Para: users@cocoon.apache.org
>Asunto: Re: Anchor in an action
>
>
>  
>
>>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>
>>
>>    
>>
>
>  
>
>Okay. You say "it doesn't work." What does it do that is wrong?
>
>Upayavira
>
>  
>
>>-----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
>>
>>
>>
>>    
>>
>
>  
>
>
>
>
>---------------------------------------------------------------------
>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
>
>
>  
>



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


Mime
View raw message