> 
> should look like this:
> 
> ##########################################
> <tal:block condition="python: display == 'navigation_tree'">
>     <tal:block
>      define="show_icons ds/show_icons;
>              show_icons python: int(show_icons);
>              contextual ds/contextual;
>              end_depth ds/end_depth;
>              folderItems python: context.getNavigationItems(
>                  root_uids=root_uids,
>                  context_rpath=context_rpath,
>                  context_obj=context,
>                  contextual=contextual,
>                  end_depth=int(end_depth),
>                  start_depth=int(start_depth),
>                  display_description=display_description,
>                  display_hidden_folders=display_hidden_folders,
>                  );
> #########################################
> 

You should add one more line: end_depth ds/end_depth;

##########################################
  <tal:block condition="python: display == 'navigation_tree'">
    <tal:block
     define="show_icons ds/show_icons;
             show_icons python: int(show_icons);
             contextual ds/contextual;
             end_depth ds/end_depth;
             start_depth ds/start_depth;
             folderItems python: context.getNavigationItems(
                 root_uids=root_uids,
                 context_rpath=context_rpath,
                 context_obj=context,
                 contextual=contextual,
                 end_depth=int(end_depth),
                 start_depth=int(start_depth),
                 display_description=display_description,
                 display_hidden_folders=display_hidden_folders,
                 );
#########################################

_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

Reply via email to