[Yanel-commits] rev 58007 - public/yanel/trunk/src/realms/yanel-website/data-repo/data/en/documentation/realm
michi at wyona.com
michi at wyona.com
Sat Apr 23 09:06:02 CEST 2011
Author: michi
Date: 2011-04-23 09:06:01 +0200 (Sat, 23 Apr 2011)
New Revision: 58007
Modified:
public/yanel/trunk/src/realms/yanel-website/data-repo/data/en/documentation/realm/realm-configuration.html
Log:
note about custom menu/toolbar implementation added
Modified: public/yanel/trunk/src/realms/yanel-website/data-repo/data/en/documentation/realm/realm-configuration.html
===================================================================
--- public/yanel/trunk/src/realms/yanel-website/data-repo/data/en/documentation/realm/realm-configuration.html 2011-04-23 06:31:31 UTC (rev 58006)
+++ public/yanel/trunk/src/realms/yanel-website/data-repo/data/en/documentation/realm/realm-configuration.html 2011-04-23 07:06:01 UTC (rev 58007)
@@ -14,7 +14,7 @@
<li>Translation manager (optional)</li>
<li><a href="#yarep-repos">Additional Yarep based repositories (optional)</a></li>
<li><a href="#i18n">I18n configuration of this realm</a> (optional)</li>
-<li>Custom menu implementation (optional)</li>
+<li><a href="#menu-toolbar">Custom menu implementation</a> (optional)</li>
<li><a href="#repo-navigation">Custom repository navigation implemenation</a> (optional)</li>
</ul>
<p>The realm configuration for each realm is done in the file <code>realm.xml</code> in its root directory. For an example, see <a href="http://svn.wyona.com/repos/public/yanel/trunk/src/realms/from-scratch-realm-template/realm.xml"><code>src/realms/from-scratch-realm-template/realm.xml</code></a>.</p>
@@ -40,6 +40,18 @@
<p>The i18n catalogue can be configured as follows</p>
<pre><i18n-catalogue>yanelrepo:/my-i18n-catalogue.xml</i18n-catalogue></pre>
<p>More information on i18n can be found within the <a href="../i18n.html">i18n documentation</a>.</p>
+
+<a name="menu-toolbar"> </a>
+<h2>Custom menu implementation</h2>
+<p>Custom menu implementation can be configured as follows, either by specifying a custom toolbar implementation</p>
+<pre><menu class="org.wyona.yanel.servlet.toolbar.impl.FromScratchRealmToolbar"/></pre>
+<p>
+or by specifying a custom menu implementation
+</p>
+<pre><menu class="org.wyona.yanel.servlet.menu.impl.DefaultMenuV2"/></pre>
+whereas if neither nor is specified, then the DefaultMenu (version 1) implementation is used, which is set within
+<code>src/webapp/src/java/org/wyona/yanel/servlet/YanelHTMLUI.java</code>
+
<a name="repo-navigation"> </a>
<h2>Custom Repository Navigation</h2>
<p>The custom repository navigation can be configured as follows</p>
@@ -55,4 +67,4 @@
</repo-navigation></pre>
</div>
</body>
-</html>
\ No newline at end of file
+</html>
More information about the Yanel-commits
mailing list