Re: Tab based multi-level Menus in J2

David Dyer <[email protected]>
Newsgroups gmane.comp.jakarta.jetspeed.user
Message-ID <[email protected]>
Was just looking at the decorator macros, you could try using the 
"MULTIMENUS" macro, looking at the code it appears to do something very 
close to what you're looking for.


David Dyer
Senior Integration Specialist
Artifact Software Inc
email: [email protected]
skype: ddyer1
phone: 866-970-2435, ext 103.


On 23/09/2011 1:04 AM, anyz wrote:
> Thanks David, i will give it try.
> Please do share your code if you get some time for it.
>
>
>
>
> On Thu, Sep 22, 2011 at 11:49 PM, David Dyer<[email protected]>wrote:
>
>> I don't have any specific examples, but the top "tab" menu is function call
>> in the decorator header file using a menu definition variable also in the
>> header. You can customize menu definitions in psml and folder.metadata files
>> to define specifically what pages/links/folders or how far back up or down a
>> page hierarchy resources are accessible in a named menu.
>>
>> The actual html structure of the menu is controlled in the
>> decorator-macros, found in the specific layout decorator you're using.
>>
>> So you can manipulate these to get the effect you want.
>>
>> I'll try to work up and example in the next day or two.
>>
>> David (not Taylor)
>>
>> David Dyer
>> Senior Integration Specialist
>> Artifact Software Inc
>> email: [email protected]
>> skype: ddyer1
>> phone: 866-970-2435, ext 103.
>>
>>
>>
>> On 22/09/2011 4:08 AM, anyz wrote:
>>
>>>   I am working on J1 based application that has tabs/panes bases
>>> multi-level
>>> menus on page as.
>>>
>>> Dashboard | Finance| HR | Admin
>>>
>>> As user clicks say Finacne there is another row of sub-menus of Finance
>>> as:
>>>
>>> Statments | Claims | New Queries | Graphs
>>>
>>> and then clicking Claims will show another row of sub-menus for Claims.
>>>
>>> I need to implement same navigation in J2. What i learned so far is J2
>>> navigation is based on actual Portal Resouces (Pages, Links, Folder).
>>> Folders are listed in Left navigation pane by default while all PSML pages
>>> goes as menus on top of page. These can be customized however what to
>>> display in left nav pane or menus.
>>>
>>> How can i created sub-menu when clicked on a menu? Is there any example
>>> for
>>> this?
>>>
>>> Thanks
>>>
>>>
>>>
>>> -----
>>> No virus found in this message.
>>> Checked by AVG - www.avg.com
>>> Version: 2012.0.1809 / Virus Database: 2085/4511 - Release Date: 09/21/11
>>>
>> ------------------------------**------------------------------**---------
>> To unsubscribe, e-mail: jetspeed-user-unsubscribe@**portals.apache.org<[email protected]>
>> For additional commands, e-mail: jetspeed-user-help@portals.**apache.org<[email protected]>
>>
>>
>
>
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2012.0.1809 / Virus Database: 2085/4513 - Release Date: 09/22/11
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.