20030603 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

Comments:

Post a Comment:
  • HTML Syntax: Allowed
Click me to subscribe
Matt Raible is the Lead UI Architect at LinkedIn. The opinions on this site are mine, not my employers.
« August 2008
SunMonTueWedThuFriSat
     
1
2
3
4
6
7
8
9
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
      
Today

Recent Entries

Tag Cloud