Struts Menu 2.1 Released!
This release is primarily a bug-fixing release, but I also added a couple of enhancements. The first is the variable substitution now uses JSTL, which means two things.
- You must use a JSP 1.2 container and include the standard tag library in your project for this to work.
- You can now use "dot" notation in your variables. For example, ${user.name} will now work.
Other enhancements include added support for standalone menus in the Explandable List Menu (no items, just a <Menu>) and highlighting of the last menu clicked.
List of Changes (from http://struts-menu.sourceforge.net/changes-report.html):
- Changed dynamic variable feature to use JSTL's ExpressionEvaluator. To substitute request parameters, you must use ${param.paramName}, rather than just ${paramName}.
- Fixed UseMenuDisplayerTag to allow config in menu-config.xml to override the default (as documented).
- Fixed DisplayMenuTag to continue rendering menu items when Action or Forward lookups fail.
- Added support for highlighting the last menu selected in the Expandable Menu.
- Added support for standalone links/menus (no children) to Expandable Menu.
- Added struts-menu.tld to the binary distribution.
A complete CVS changelog can be found at: http://struts-menu.sourceforge.net/changelog-report.html.
Demo: http://raibledesigns.com/struts-menu
Download: http://tinyurl.com/2aq6k
I realize the JSTL stuff could backfire if users are stuck on an old container. Hopefully, you can simply continue using 2.0 if that's your situation.