jcplerm wrote:
> I am trying to do:
>
> <map:redirect-to resource="xxx"/>
>
> from within a nested sitemap, where "xxx" is defined as a map:resource
> in a higher level sitemap like:
>
> <map:resource name="xxx">
> ...
> </map:resource>
>
> I can invoke xxx without problems if it's defined in the same sitemap
> in which the redirect is done. But not if the resource definition is
> moved up the sitemap hierarchy.
>
> Is this possible? How is the correct syntax to invoke such a resource?
It's not possible : contrarily to components defined in
<map:components>, resources are not inherited by subsitemaps.
Sylvain
--
Sylvain Wallez Anyware Technologies
http://www.apache.org/~sylvain http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }
Orixo, the opensource XML business alliance - http://www.orixo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
|