You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Rolf Kulemann <ro...@apache.org> on 2004/02/13 11:52:51 UTC

Re: how change sitetree.xml

On Fri, 2004-02-13 at 10:38, fabio.noferi@libero.it wrote:
> hi list,
> 
> my target is to choose if a node is show in menu or tabs and not both.
> i found some limitation in defoultpub, (es.: if you have a lot of tab in tabs menu, they exit from the screen)
> 
> i have this problem, i change the /authoriting/sitetree.xml, i add a new child to a node like that:

I had the same problem. But this isn't that easy, because, afaik, the
problem is the DefaultSitetree implementation. It does only care for a
well defined number of @ttributes to insert into the sitetree. This
"hard coded" number should be changed to handle a generic number of
attributes and tags to be inserted or copied. Maybe I'm wrong.

Have a look at the class
org/apache/lenya/cms/publication/DefaultSiteTree.java . 

It seems to me that changes for our needs are problematic, because its a
general design problem of the sitetree api.

Comments?


-- 
Regards,

    Rolf Kulemann


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