On 9/17/07, Peder <[EMAIL PROTECTED]> wrote:
>
> Yes sorry, I was unclear, typos and all.
>
> What I did was the following:
> <pre>
> 1. Added templates/cssTabsMenu.html to my source tree.
> 2. Added tabs.css to styles/tabs.css; References via theme.css with a
> @import url(tabs.css);

This should probably be ../tabs.css for the URL.

> 3. Added tabs.js to scripts.  Referenced in default.jsp with <script
> type="text/javascript" src="<c:url value='/scripts/tabs.js'/>"></script>
> 4.  Changed menu.jsp and default.jsp menu tags to use <menu:useMenuDisplayer
> name="Velocity" config="templates/cssTabsMenu.html"
> permissions="rolesAdapter">.  Also tried <menu:useMenuDisplayer
> name="TabbedMenu" config="templates/cssTabsMenu.html"
> permissions="rolesAdapter">

.html will probably not work, but I see you fixed that below.

> 5. Added the following to menu-config.xml   :
>
>         <Displayer name="Velocity"
> type="net.sf.navigator.displayer.VelocityMenuDisplayer"/>
>         <Displayer name="TabbedMenu"
> type="net.sf.navigator.displayer.TabbedMenuDisplayer"/>
>
> </pre>
> 6.  Tried various combinations of the above, eg. putting content of
> templates/cssTabsMenu.html in root of class path as cssTabsMenu.vm and
> referencing it with <menu:useMenuDisplayer name="Velocity"
> config="cssTabsMenu.vm" permissions="rolesAdapter">

The TabbedMenu doesn't require Velocity like the current one does -
did you try just using it w/o Velocity involved?

Maybe the setup instructions for Struts Menu can be clearer?

http://struts-menu.sourceforge.net/userguide.html

Matt

>
> Thanks,
>
> Peder
> --
> View this message in context: 
> http://www.nabble.com/Any-Luck-Using-TabbedMenu-in-Appfuse2--tf4470112s2369.html#a12746344
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to