Hi, In Lenya trunk, the SiteManager is an abstraction of the SiteTree, i.e. Lenya should not directly use the SiteTree, but only the SiteManager/SiteStructure. Is that correct?
But then, how can sitetree attributes be handled? Should the SiteManager (or the SiteStructure?) have methods to get/set attributes like e.g. visibleInNav? How could this be solved in a generic way? Maybe: String getAttribute(Document document, String name); void setAttribute(Document document, String name, String value); Map getAttributes(Document document); But it doesn't really make sense because the attributes are associated with nodes, not with documents. Should there be an abstraction of a node (=set of all language versions of a document) in Lenya? Or should there be no sitetree attributes at all, only meta data? Any ideas? Josias PS: this is related to http://article.gmane.org/gmane.comp.cms.lenya.devel/12829 -- Josias Thoeny Wyona Content Management Solutions http://wyona.com Apache Lenya http://lenya.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
