I have called MULTIMENUS macro in header and tried it by creating a page mypage.psml in folder "/pages/_user/admin" and overriding the "pages" menu definiton as below:
<menu name="pages"> <options regexp="true">/*.psml</options> <menu> <options regexp="true">/ *</options> </menu> </menu> It worked good and shows pages from all top level and nested folders. However we need to display specific pages as level-2 menus so we tried it as: <menu name="pages"> <options regexp="true">/*.psml</options> <menu> <options regexp="true">/abc/*.psml</options> </menu> </menu> The “abc” folder is located at “Jetspeed-2.2.1\pages\_user\admin\abc”. However it didn't work and no level-2 menu is shown. We tried differnt things with <options> tag but nothing worked so far. On Fri, Sep 23, 2011 at 3:42 PM, David Dyer <dd...@artifact-software.com>wrote: > 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: dd...@artifact-software.com > 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<ddyer@artifact-software.** >> com <dd...@artifact-software.com>>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: dd...@artifact-software.com >>> 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@**po**rtals.apache.org<http://portals.apache.org/> >>> <jetspeed-**user-unsubscribe@portals.**apache.org<jetspeed-user-unsubscr...@portals.apache.org> >>> > >>> For additional commands, e-mail: jetspeed-user-help@portals.**a** >>> pache.org >>> <http://apache.org/><jetspeed-user-help@**portals.apache.org<jetspeed-user-h...@portals.apache.org> >>> > >>> >>> >>> >> >> ----- >> 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 >> > > ------------------------------**------------------------------**--------- > To unsubscribe, e-mail: > jetspeed-user-unsubscribe@**portals.apache.org<jetspeed-user-unsubscr...@portals.apache.org> > For additional commands, e-mail: > jetspeed-user-help@portals.**apache.org<jetspeed-user-h...@portals.apache.org> > >