Skip to content

Commit

Permalink
note about how yanel.resource.usecase is suppressing toolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwechner committed Mar 2, 2012
1 parent ce1ce84 commit 317a276
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -8,7 +8,7 @@
In order to avoid typing the query string one can set a "toolbar zone" within the browser window, which becomes active when hovering with the mouse at such a particular area (see src/realms/from-scratch-realm-template/data-repo/data/app1/xslt/global.xsl) or set a shortcut/redirect.
</p>

<p>The toolbar can be disabled by appending the query string ?yanel.toolbar=off or by clicking on the toolbar menu &quot;Yanel&quot; and clicking on the menu item &quot;Turn off toolbar&quot;.</p><p>In some cases one might want to suppress the toolbar, for example when using an iframe. One can suppress the toolbar by appending the query string ?yanel.toolbar=suppress.</p>
<p>The toolbar can be disabled by appending the query string ?yanel.toolbar=off or by clicking on the toolbar menu &quot;Yanel&quot; and clicking on the menu item &quot;Turn off toolbar&quot;.</p><p>In some cases one might want to suppress the toolbar, for example when using an iframe. One can suppress the toolbar by appending the query string <code>?yanel.toolbar=suppress</code>. The toolbar gets also omitted when adding the query string <code>?yanel.resource.usecase=SOME_USECASE</code> (see <a href="https://github.com/wyona/yanel/blob/master/src/webapp/src/java/org/wyona/yanel/servlet/YanelServlet.java">YanelServlet.java</a>).</p>

<h2>Toolbar Customization</h2>
<p>One can customize the toolbar per realm, whereas one can either overwrite/implement the Toolbar class/interface itself or just overwrite/implement the Menu class/interface.</p>
Expand Down

0 comments on commit 317a276

Please sign in to comment.