The Artima Developer Community
Sponsored Link

Java Buzz Forum
Menu Custom Tag Library

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Sam Dalton

Posts: 143
Nickname: samd
Registered: Jun, 2003

Sam Dalton is a Java Developer with ThoughtWorks in teh UK
Menu Custom Tag Library Posted: Jun 26, 2003 12:47 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Sam Dalton.
Original Post: Menu Custom Tag Library
Feed Title: import java.*;
Feed URL: http://www.samjdalton.com/pebble/rss.xml
Feed Description: Random, Infrequent Bloggings of a Techie
Latest Java Buzz Posts
Latest Java Buzz Posts by Sam Dalton
Latest Posts From import java.*;

Advertisement

While looking for a good dynamic menu a while a go, I drew a blank. All I could find were nasty JavaScript menus that were overly complex to setup and maintain. As such I decided to write my own. Based on some work by Simon Brown, TagMenu is a simple to use menu custom tag library.

With TagMenu you can create infinitely deep menu structures that dynamically contract and expand when clicked. The menu is configured via a very simple XML file such as:

<menu name="Root" link="menu.jsp">
  <menu name="Menu 1" link="menu.jsp">
    <menu name="Menu 1-1" link="menu.jsp"/>
  </menu>
  <menu name="Menu 2" link="menu.jsp">
    <menu name="Menu 2-1" link="menu.jsp"/>
  </menu>
</menu>

This menu can be displayed using a very simple JSP page which embeds the menu custom tags. You are in complete control fo the formatting etc of the menu, so this is very flexible.

This menu will soon be avaliable on SourceForge.net but for now you can download it from the following links.


Please feel free to take this and do as you like, but please observe the terms of the license

Read: Menu Custom Tag Library

Topic: Interface evolution and ambiguous selectors Previous Topic   Next Topic Topic: The Spud is getting active

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use