On Thu, 19 Jan 2006, Andreas Hartmann wrote:

Jann Forrer wrote:

[...]

I don't mind if I write

 node.isVisibleInNav()


I still have an open task to add a method getVisibleInNav() in order to use the existing value of the Visible_in_nav attribute if a new language is created otherwise the node beomces visible again. Or is that already solved?

Do you mean that?


Yes :-)  Thanks for the fix

Author: andreas
Date: Wed Jan 18 03:19:15 2006
New Revision: 370125

--- lenya/trunk/src/java/org/apache/lenya/cms/site/SiteManager.java (original) +++ lenya/trunk/src/java/org/apache/lenya/cms/site/SiteManager.java Wed Jan 18

+    /**
+     * Returns the visibility of a node in the navigation.
+     *
+     * @param document The document.
+     * @return A boolean value.
+     * @throws SiteException if an error occurs.
+     */
+    boolean isVisibleInNav(Document document) throws SiteException;


[ ... ]

Jann

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to