You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Randy Watler <wa...@wispertel.net> on 2006/09/25 09:42:19 UTC
Re: Menu Tree in Jetspeed2.0
Prakash,
First of all, please use the user list instead of mailing committers
directly.
About your question then:
Please see the website for examples of how to specify menu options:
http://portals.apache.org/jetspeed-2/guides/guide-menus-declarative-psml.html#Menu_Definition
Also, note that "clicking" on menus to have them "open" is something a
DHTML menu might be able to do, but the basic menu support does not. In
otherwords, you will need to define the sub menu options explicitly to
see them:
<options regexp="true">/CompanyFolder/*</options>
There is some support for DHTML menus using the jscookmenu decorator and
possibly the J2 desktop.
HTH,
Randy
On Mon, 2006-09-25 at 13:03 +0530, Prakash Tiwary wrote:
> Hi ,
> Greeting for the day.
> I am new to Jetspeed2.0. I want to generate a menu tree in left pan.
> I tried this with different approaches, but could not succed. I am
> describing my requirements below. I am expecting a help from you.
>
> Given the following scenerios
> WEB-INF/pages/
> |-- mypage.psml
> |
> |-- folder.metadata
> |-- CompanyFolder
> |-- folder.metadata
> |
> |-- Company1
> |-- Company2
> |-- Company3
>
>
> I want a menu tree structure for CompanyFolder, I mean once i click on
> CompanyFolder , it should expand & shows Company1,Company2, Company3.
>
> Here is my floder.metadata
> <menu name="project-tree-menu">
> <separator>
> <text>Operations</text>
> <metadata name="text" xml:lang="ja">Non-Javaページ</metadata>
> <metadata name="text" xml:lang="es">Ejemplos sin java</metadata>
> <metadata name="text" xml:lang="zh">非Java Portlet页</metadata>
> </separator>
>
> <options>/CompanyFolder</options>
>
> </menu>
>
> I have called this in mypage.psml
> <menu name="page-navigations">
> <include>project-tree-menu</include>
> </menu>
>
>
> But i didnt work.
>
> Kindly help me.
>
> Thanks & Regards
> Prakash
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: Menu Tree in Jetspeed2.0
Posted by Jacek Wiślicki <ja...@gmail.com>.
Wiadomosc od Randy Watler z 2006-09-25 09:42 brzmiala:
> There is some support for DHTML menus using the jscookmenu decorator and
> possibly the J2 desktop.
Well, the same can be accomplished withoud DHTML, with HTML lists and
Velocity (http://www.nauka-biznes.org.pl/jetspeed/portal/). If you need
any code samples, contact me directly.
--
pozdrawiam,
Jacek Wislicki
jacek.wislicki@gmail.com
http://www.nauka-biznes.org.pl/jetspeed/portal/
tel.: +48 502 408 444
gg: 2540358
skype: jacek_wislicki
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org