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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to