Josias Thoeny wrote:
[...]
I added the method SiteManager.isVisibleInNav() to allow CreateLanguage
to use the value of the existing language version. In fact, IMO the
DocumentManager.add() and SiteManager method signatures should be changed,
as the visibility attribute belongs to the node and not to the document.
Ok.
I also think the visibility belongs to the node. And there may be other
attributes which are properties of the node, this is why the idea to use
meta data for the node came up some time ago.
What about about having a method contentNode.getMetaData(...), just like
document.getMetaData(...)?
+1
Or is it better to use specific methods like isVisibleInNav()?
I don't mind if I write
node.isVisibleInNav()
or
node.getMetaData().getValue(SiteNodeMetaData.VISIBLE_IN_NAV)
IMO the second should be implemented anyway, the first could be added
as a shortcut.
[...]
-- Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]