forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juan Jose Pablos <che...@che-che.com>
Subject Re: patch for src/conf/forrest.xmap
Date Mon, 28 Jul 2003 17:50:34 GMT
Jason,

I do not know much about the sitemaps, but it looks like there is not 
need to re-declare components, so <map:selector> would be inherited from 
sitemap.xmap.

You need to redeclare when you use a component inside a <map:resource>, 
but I do not know if that is a bug.


So, this brings me some attention on the <components> elements for a few 
xmap. Should we remove them?, I have test to remove all the <components> 
  on the menu.xmap and still works.

Cheers,
Cheche.

Jason Kary wrote:
> 
> 
> ------------------------------------------------------------------------
> 
> Index: forrest.xmap
> ===================================================================
> RCS file: /home/cvspublic/xml-forrest/src/resources/conf/forrest.xmap,v
> retrieving revision 1.22
> diff -p -a -t -c -h -r1.22 forrest.xmap
> *** forrest.xmap	21 Jul 2003 00:56:20 -0000	1.22
> --- forrest.xmap	28 Jul 2003 14:10:33 -0000
> *************** $Revision: 1.22 $
> *** 84,89 ****
> --- 84,90 ----
>       </map:actions>
>       <map:selectors default="parameter">
>         <map:selector logger="sitemap.selector.parameter" name="parameter" src="org.apache.cocoon.selection.ParameterSelector"
/>
> +       <map:selector logger="sitemap.selector.exists" name="exists" src="org.apache.cocoon.selection.ResourceExistsSelector"
/>
>       </map:selectors>
>     </map:components>
>   



Mime
View raw message