Tuesday June 03, 2003
Struts Menu now supports tabbed menus!
I uploaded a new demo of the tabbed menu system. This one uses url-matching to determine which menu to activate. If it finds more than one menu item (that matches the current URL), it falls back on a cookie that is set when you click on a link. Seems to work pretty well. Better than the last demo which didn't support clicking the "back" button.
And for you struts-menu users, this menu is soon to be available as a Displayer. I haven't checked it into CVS yet, but here's a working demo. Hope you enjoy! Let me know if you find any bugs.
Update: I checked everything into CVS and also added support for Struts' forwards in menu-config.xml. So now there are three choices when defining a URL for a menu/item:
- location: uses the exact value you specify.
- page: pre-pends the contextPath to the value you specify.
- forward: looks up the path of the forward in struts-config.xml.
You can download the latest struts-menu.war if you want these features right away.
Posted in Java
at Jun 03 2003, 03:44:21 PM MDT
Add a Comment
Search This Site
Recent Entries
- My What's New in Spring 3.1 Presentation
- Twitter's Open Source Summit: Bootstrap 2.0 Edition
- Refreshing AppFuse's UI with Twitter Bootstrap
- 2011 - A Year in Review
- Upgrading AppFuse to Spring Security 3.1 and Spring 3.1
- What have I been working on at Taleo?
- Our Engaging Trip to Paris and Antwerp
- My HTML5 with Play Scala, CoffeeScript and Jade Presentation from Devoxx 2011
- Deploying Java and Play Framework Apps to the Cloud with James Ward
- PhoneGap for Hybrid App Development