Aysegul:
To enable the pulldown menus, one has to first select a layout-decorator
in a folder.metadata file accordingly, (this is normally done in the
root folder). Any portlet-decorator can be used.
<defaults
layout-decorator="jscookmenu"
portlet-decorator="blue-gradient"
/>
Now, we need to specify the menus. This particular decorator uses the
following menu definitions:
site-navigation
additional-links
The default values for these are:
<!-- temporary menu definitions for jscookmenu layout decorator; will
be standard -->
<menu name="site-navigations" regexp="true" options="/*/,/*.psml"
depth="-1"/>
<menu name="additional-links" regexp="true" options="/*.link"/>
If you wanted to follow the example in the declarative menus docs, one
could override these defaults in the same folder.metadata file like this:
<menu name="site-navigations" options="/" depth="2"/>
HTH,
Randy
Aysegul Aydin wrote:
Hi,
After having read
http://portals.apache.org/jetspeed-2/deployguide/guide-menus-declarative-psml.html
menu guide, I tried the example in this page:
<!-- site menu for the top 2 levels: folders result in nested menus -->
<menu name="top-2-levels" options="/" depth="2" skin="dhtml-pull-down"/>
According to the guide, this should create a pulldown menu, but it doesn't seem
to be working. Does pulldown menus work in Jetspeed 2.2.0 ?
Thanks in advance,
Aysegul AYDIN.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]