RE: StrutsMenu 1.2?
Nope. But since it *is* an open source project, feel free to add this feature ;-) Matt -Original Message- From: William Salvucci [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 1:19 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: StrutsMenu 1.2? Can struts-tiles be used to implement dynamic menus? >>> [EMAIL PROTECTED] 06/09/03 09:42AM >>> You might consider struts menu but you would have to heavily modify the menu. Basically, the menu structure runs off of a collection of beans which you would have to dynamically re-create and modify the menu displayers to pick up your dynamic menus. If you did do this in conjuction with struts menu, it is the most asked for feature and the code would be a welcome addition. If the dynamic aspect of the menu can be implemented with a dynamic root menu, then struts menu is a very viable option. Edgar > -Original Message- > From: Bjorn T Johansen [mailto:[EMAIL PROTECTED] > Sent: Monday, June 09, 2003 6:33 AM > To: 'Struts Users Mailing List' > Subject: StrutsMenu 1.2? > > > I need some kind of dynamic generation of menu items in my > webapp, is StrutsMenu the way to go or should I look into > something else, or implement it myself? > > > Regards, > > BTJ > > -- > -- > -- > --- > Bjørn T Johansen (BSc,MNIF) > Executive Manager > [EMAIL PROTECTED] Havleik Consulting > Phone : +47 67 54 15 17 Conradisvei 4 > Fax : +47 67 54 13 91 N-1338 Sandvika > Cellular : +47 926 93 298 http://www.havleik.no > -- > -- > --- > "The stickers on the side of the box said "Supported > Platforms: Windows 98, Windows NT 4.0, Windows 2000 or > better", so clearly Linux was a supported platform." > -- > -- > --- > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: StrutsMenu 1.2?
Can struts-tiles be used to implement dynamic menus? >>> [EMAIL PROTECTED] 06/09/03 09:42AM >>> You might consider struts menu but you would have to heavily modify the menu. Basically, the menu structure runs off of a collection of beans which you would have to dynamically re-create and modify the menu displayers to pick up your dynamic menus. If you did do this in conjuction with struts menu, it is the most asked for feature and the code would be a welcome addition. If the dynamic aspect of the menu can be implemented with a dynamic root menu, then struts menu is a very viable option. Edgar > -Original Message- > From: Bjorn T Johansen [mailto:[EMAIL PROTECTED] > Sent: Monday, June 09, 2003 6:33 AM > To: 'Struts Users Mailing List' > Subject: StrutsMenu 1.2? > > > I need some kind of dynamic generation of menu items in my > webapp, is StrutsMenu the way to go or should I look into > something else, or implement it myself? > > > Regards, > > BTJ > > -- > -- > -- > --- > Bjørn T Johansen (BSc,MNIF) > Executive Manager > [EMAIL PROTECTED] Havleik Consulting > Phone : +47 67 54 15 17 Conradisvei 4 > Fax : +47 67 54 13 91 N-1338 Sandvika > Cellular : +47 926 93 298 http://www.havleik.no > -- > -- > --- > "The stickers on the side of the box said "Supported > Platforms: Windows 98, Windows NT 4.0, Windows 2000 or > better", so clearly Linux was a supported platform." > -- > -- > --- > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: StrutsMenu 1.2?
You might consider struts menu but you would have to heavily modify the menu. Basically, the menu structure runs off of a collection of beans which you would have to dynamically re-create and modify the menu displayers to pick up your dynamic menus. If you did do this in conjuction with struts menu, it is the most asked for feature and the code would be a welcome addition. If the dynamic aspect of the menu can be implemented with a dynamic root menu, then struts menu is a very viable option. Edgar > -Original Message- > From: Bjorn T Johansen [mailto:[EMAIL PROTECTED] > Sent: Monday, June 09, 2003 6:33 AM > To: 'Struts Users Mailing List' > Subject: StrutsMenu 1.2? > > > I need some kind of dynamic generation of menu items in my > webapp, is StrutsMenu the way to go or should I look into > something else, or implement it myself? > > > Regards, > > BTJ > > -- > -- > -- > --- > Bjørn T Johansen (BSc,MNIF) > Executive Manager > [EMAIL PROTECTED] Havleik Consulting > Phone : +47 67 54 15 17 Conradisvei 4 > Fax : +47 67 54 13 91 N-1338 Sandvika > Cellular : +47 926 93 298 http://www.havleik.no > -- > -- > --- > "The stickers on the side of the box said "Supported > Platforms: Windows 98, Windows NT 4.0, Windows 2000 or > better", so clearly Linux was a supported platform." > -- > -- > --- > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: StrutsMenu 1.2?
Try: http://sourceforge.net/projects/struts-menu/ http://www.raibledesigns.com/struts-menu/index.jsp -jaafar -Original Message- From: Nimish Chourey , Tidel Park - Chennai [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 8:59 AM To: Struts Users Mailing List Subject: RE: StrutsMenu 1.2? Whats this Struts Menu ..Where could I find that ?? -Original Message- From: Bjørn T Johansen [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 5:03 PM To: Struts Users Mailing List Subject: StrutsMenu 1.2? I need some kind of dynamic generation of menu items in my webapp, is StrutsMenu the way to go or should I look into something else, or implement it myself? Regards, BTJ -- --- Bjørn T Johansen (BSc,MNIF) Executive Manager [EMAIL PROTECTED] Havleik Consulting Phone : +47 67 54 15 17 Conradisvei 4 Fax : +47 67 54 13 91 N-1338 Sandvika Cellular : +47 926 93 298 http://www.havleik.no --- "The stickers on the side of the box said "Supported Platforms: Windows 98, Windows NT 4.0, Windows 2000 or better", so clearly Linux was a supported platform." --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: StrutsMenu 1.2?
Whats this Struts Menu ..Where could I find that ?? -Original Message- From: Bjørn T Johansen [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 5:03 PM To: Struts Users Mailing List Subject: StrutsMenu 1.2? I need some kind of dynamic generation of menu items in my webapp, is StrutsMenu the way to go or should I look into something else, or implement it myself? Regards, BTJ -- --- Bjørn T Johansen (BSc,MNIF) Executive Manager [EMAIL PROTECTED] Havleik Consulting Phone : +47 67 54 15 17 Conradisvei 4 Fax : +47 67 54 13 91 N-1338 Sandvika Cellular : +47 926 93 298 http://www.havleik.no --- "The stickers on the side of the box said "Supported Platforms: Windows 98, Windows NT 4.0, Windows 2000 or better", so clearly Linux was a supported platform." --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: StrutsMenu 1.2?
+1 for Struts Menu. We were able to plug in our custom authentication seamlessly and just had to write a couple of displayers to get the look and feel we needed. Highly recommended and it is still being enhanced. -jaafar -Original Message- From: Bjørn T Johansen [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 7:33 AM To: Struts Users Mailing List Subject: StrutsMenu 1.2? I need some kind of dynamic generation of menu items in my webapp, is StrutsMenu the way to go or should I look into something else, or implement it myself? Regards, BTJ -- --- Bjørn T Johansen (BSc,MNIF) Executive Manager [EMAIL PROTECTED] Havleik Consulting Phone : +47 67 54 15 17 Conradisvei 4 Fax : +47 67 54 13 91 N-1338 Sandvika Cellular : +47 926 93 298 http://www.havleik.no --- "The stickers on the side of the box said "Supported Platforms: Windows 98, Windows NT 4.0, Windows 2000 or better", so clearly Linux was a supported platform." --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: StrutsMenu Coolmenu4 images
I am not a committer so I am guessing to some degree, but it looks like the image is not being passed through to coolmenus (look at the generated code for save). I am not a coolmenu expert either so I don't know if coolmenus doesn't support the image or if struts-menu just didn't generate the code required. Since both coolmenus and strutsmenu are open source it shouldn't be too hard to figure out the missing link. My apologies for not being of more help. Edgar > -Original Message- > From: Jack Zakarian [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 19, 2003 11:08 AM > To: Edgar Dollin > Subject: RE: StrutsMenu Coolmenu4 images > > > Hi Edgar, > > I checked the generated HTML and it contained a base tag > > http://d5l8ql11:9081/wp/";> > > and the menu script of : > > <!-- > > > oCMenu.makeMenu('MainMenu','','Home','/wp/return-mainmenu.do', '','','',' > ','','','','','',0,'','',''); > > > oCMenu.makeMenu('Action','','Action'+cmTopMenuImage+'','','',' > ','','','' > ,'','','','',0,'','',''); > oCMenu.makeMenu('TCancel','Action','Cancel','','','','','','', > '','','',' > ',0,'submitAction("ServiceInvoice/add.do")','',''); > oCMenu.makeMenu('TClear','Action','Clear','','','','','','','' > ,'','','', > 0,'submitAction("ServiceInvoice/add.do")','',''); > oCMenu.makeMenu('TReset','Action','Reset','','','','','','','' > ,'','','', > 0,'submitAction("ServiceInvoice/edit.do")','',''); > oCMenu.makeMenu('TSave','Action','Save','','','','','','','',' > ','','',0, > 'submitAction("ServiceInvoice/save.do")','',''); > > > oCMenu.makeMenu('Query','','Query'+cmTopMenuImage+'','','','', > '','','',' > ','','','',0,'','',''); > oCMenu.makeMenu('TField','Query','Field','','','','','','','', > '','','',0 > ,'submitAction("ServiceInvoice/edit.do")','',''); > oCMenu.makeMenu('TList','Query','List','summary.do','','','',' > ','','','' > ,'','',0,'','',''); > oCMenu.makeMenu('TNew','Query','New','add.do','','','','','',' > ','','','' > ,0,'','',''); > > > oCMenu.makeMenu('Add','','Add'+cmTopMenuImage+'','','','','',' > ','','','' > ,'','',0,'','',''); > oCMenu.makeMenu('TAdd','Add','New > Record','add.do','','','','','','','','','',0,'','',''); > oCMenu.makeMenu('TDetail','Add','Detail','','','','','','','', > '','','',0 > ,'submitAction("ServiceInvoice/adddetail.do")','',''); > > > > oCMenu.makeMenu('Delete','','Delete'+cmTopMenuImage+'','','',' > ','','','' > ,'','','
RE: StrutsMenu Coolmenu4 images
I would start by looking at the generated HTML. One other thing to check is if your pages have any path information, i.e. struts modules or general application context then the images need either absolute images references or leading slashes to resolve correctly. Edgar > -Original Message- > From: Jack Zakarian [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 19, 2003 8:12 AM > To: '[EMAIL PROTECTED]' > Subject: StrutsMenu Coolmenu4 images > > > Hi, > > > > I'm trying to use images with coolmenu4. I've added > image="images/save.gif" to > > and to lines but it doesn't load. I checked > the CoolMenuDisplayer4.java > > code and it contains the following; > > > > private static final String TOP_IMAGE = "cmTopMenuImage"; > > private static final String SUB_IMAGE = "cmSubMenuImage"; > > > > cmTopMenuImage and cmSubMenuImage are found in the coolmenu4-config.js > > i.e. > > > > // Struts Menu specific javascript variables > > > > // menu arrows > > cmTopMenuImage=' src="images/Rarrow.gif" class="menuArrows" />' > > cmSubMenuImage=' src="images/Rarrow.gif" class="menuArrows" />' > > > > Also CoolMenuDisplayer4.java only loads the following arguments > > > > protected String[] getArgs(MenuComponent menu) { > > String[] args = new String[8]; > > args[0] = menu.getName(); > > args[1] = getParentName(menu); > > args[2] = getTitle(menu); > > args[3] = (menu.getLocation() == > null)?EMPTY:menu.getLocation(); > > args[4] = getTarget(menu); > > args[5] = (menu.getOnClick() == null)?EMPTY:menu.getOnClick(); > > args[6] = (menu.getOnMouseOver() == > null)?EMPTY:menu.getOnMouseOver(); > > args[7] = (menu.getOnMouseOut() == > null)?EMPTY:menu.getOnMouseOut(); > > > > return args; > > } > > > > How can I get images to load for my top and sub menu items? > > > > Thanks, > > > > Jack. > > > > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: StrutsMenu
I'll drop the cookie code on sourceforge. It does depend on the change I posted prior to the DropDownDisplayer (basically to write out a string after a menu block is rendered). I am not familiar with XSL but I like the idea of user customizable menus. It would be really nice for a site with public and private areas, so end users could keep the public area up while the business processes were restricted. Edgar -Original Message- From: Raible, Matt [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 9:17 AM To: 'Struts Users Mailing List' Subject: RE: StrutsMenu All three of the links allow "roles" to be specified in menu-config.xml - this is how the roles are used. For an online example, see: http://raibledesigns.com/struts-menu/rolesMenu.jsp The "dhtml" menus use ListDisplayer, not DropDownDisplayer, so you're right in that it's not in that one. The IE6 problem is b/c the dhtmlDropDown does not currently support nested children > 2. Care to donate your cookie code? One enhancement I was thinking of for struts-menu was to make an XSLDisplayer that uses XSL on the menu-config.xml file to change the menus. It might be a lot of work, who knows until I get into it. The idea would be that there would be default XSL files for all menus, and then I'd add a path attribute to the tag library so users could customize there own. Thoughts? Anyone know how to read an XSL file from a JAR file? Matt > -Original Message- > From: Edgar P. Dollin [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 12, 2003 6:30 AM > To: 'Matt Raible' > Cc: 'Struts Users Mailing List' > Subject: RE: StrutsMenu > > > Matt: > > The links below don't seem to do any role stuff that I can find. BTW: > there are some bugs in the dhtmlDropdown.jsp with IE6. > > Maybe I am reading the code incorrectly but the DropDown > displayer never > calls isAllowed or works with an object that does The coolmenu > displayer does makes calls although it's structure is a tad different > than the drop down. I have started doing the analysis of where to put > the checks to enable the role/permission implementation. > > The tree menu link is really interesting. The guy and his bud's are > really good. > > BTW: I reworked the cookies and got the menu's to act > consistently from > page to page. > > Thanks again > > Edgar > > -----Original Message- > From: Matt Raible [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 11, 2003 9:35 PM > To: Edgar Dollin > Cc: 'Struts Users Mailing List' > Subject: RE: StrutsMenu > > > > It should already be built into the following Displayers using the > "roles" attribute on a menu or item. > > http://raibledesigns.com/struts-menu/dhtmlDropdown.jsp > http://raibledesigns.com/struts-menu/dhtmlExpandable.jsp > http://raibledesigns.com/struts-menu/coolmenu4.jsp > > For saving a menu's expanded location - you might want to look at the > following Tree menu. I hope to add support for this type of > menu in the > coming weeks. > > http://webfx.eae.net/dhtml/xtree/demo.html > > HTH, > > Matt > > -Original Message- > From: Edgar Dollin [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 11, 2003 6:04 PM > To: '[EMAIL PROTECTED]' > Cc: 'Struts Users Mailing List' > Subject: StrutsMenu > > > Would it be simple to implement roles and permissions on the > DropDownDisplayer? I have started to look at it and am not > sure of all > the touch points. > > BTW: my solution for restoring a menu position on a target > page with the > same menu as the prior page is sub-optimal. The only solution I could > come up with saved menu down and up movements and created expiring > cookies on menu selection. Of course if you do any other action the > menu doesn't redrop. If you are using contexts, the cookies are > discarded across the change of context. It looks like the only way to > really make menu position controllable is to do some server > side stuff. > An interesting project. > > Thanks for your help. > > Edgar > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: StrutsMenu
I wouldn't mind being a committer, or at least a "maintainer". My Jboss/J2ee patch has been sitting on the sourceforge site for a while. :> >>> "Raible, Matt" <[EMAIL PROTECTED]> 03/12/03 06:40AM >>> You're suggesting that it's generated from a Bean or something like that? Vic mentioned he's interested in it, but the honest truth is that it'll probably be implemented when a committer wants to use it. Anybody want to become a committer? ;-) > -Original Message- > From: Witbeck, Shane [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 12, 2003 7:36 AM > To: [EMAIL PROTECTED] > Subject: RE: StrutsMenu > > > Is there any work being done to generate struts menu's > dynamically? If so, > is there an estimate for when this might be available? > > Thanks, > > Shane > > -Original Message- > From: Raible, Matt [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 12, 2003 9:17 AM > To: 'Struts Users Mailing List' > Subject: RE: StrutsMenu > > > All three of the links allow "roles" to be specified in > menu-config.xml - > this is how the roles are used. For an online example, see: > > http://raibledesigns.com/struts-menu/rolesMenu.jsp > > The "dhtml" menus use ListDisplayer, not DropDownDisplayer, > so you're right > in that it's not in that one. The IE6 problem is b/c the > dhtmlDropDown does > not currently support nested children > 2. > > Care to donate your cookie code? > > One enhancement I was thinking of for struts-menu was to make an > XSLDisplayer that uses XSL on the menu-config.xml file to > change the menus. > It might be a lot of work, who knows until I get into it. > The idea would be > that there would be default XSL files for all menus, and then > I'd add a path > attribute to the tag library so users could customize there > own. Thoughts? > > > Anyone know how to read an XSL file from a JAR file? > > Matt > > > > > -Original Message- > > From: Edgar P. Dollin [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, March 12, 2003 6:30 AM > > To: 'Matt Raible' > > Cc: 'Struts Users Mailing List' > > Subject: RE: StrutsMenu > > > > > > Matt: > > > > The links below don't seem to do any role stuff that I can > find. BTW: > > there are some bugs in the dhtmlDropdown.jsp with IE6. > > > > Maybe I am reading the code incorrectly but the DropDown > > displayer never > > calls isAllowed or works with an object that does The coolmenu > > displayer does makes calls although it's structure is a tad > different > > than the drop down. I have started doing the analysis of > where to put > > the checks to enable the role/permission implementation. > > > > The tree menu link is really interesting. The guy and his bud's are > > really good. > > > > BTW: I reworked the cookies and got the menu's to act > > consistently from > > page to page. > > > > Thanks again > > > > Edgar > > > > -Original Message- > > From: Matt Raible [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, March 11, 2003 9:35 PM > > To: Edgar Dollin > > Cc: 'Struts Users Mailing List' > > Subject: RE: StrutsMenu > > > > > > > > It should already be built into the following Displayers using the > > "roles" attribute on a menu or item. > > > > http://raibledesigns.com/struts-menu/dhtmlDropdown.jsp > > http://raibledesigns.com/struts-menu/dhtmlExpandable.jsp > > http://raibledesigns.com/struts-menu/coolmenu4.jsp > > > > For saving a menu's expanded location - you might want to > look at the > > following Tree menu. I hope to add support for this type of > > menu in the > > coming weeks. > > > > http://webfx.eae.net/dhtml/xtree/demo.html > > > > HTH, > > > > Matt > > > > -Original Message- > > From: Edgar Dollin [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, March 11, 2003 6:04 PM > > To: '[EMAIL PROTECTED]' > > Cc: 'Struts Users Mailing List' > > Subject: StrutsMenu > > > > > > Would it be simple to implement roles and permissions on the > > DropDownDisplayer? I have started to look at it and am not > > sure of all > > the touch points. > > > > BTW: my solution for restoring a menu position on a target > > page with the &
RE: StrutsMenu
Yes I am suggesting generating the menu from a bean. Im surprised something like this hasn't been implemented yet or started? I would be willing to contribute to this effort if anyone else is interested. Shane -Original Message- From: Raible, Matt [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 9:41 AM To: 'Struts Users Mailing List' Subject: RE: StrutsMenu You're suggesting that it's generated from a Bean or something like that? Vic mentioned he's interested in it, but the honest truth is that it'll probably be implemented when a committer wants to use it. Anybody want to become a committer? ;-) > -Original Message- > From: Witbeck, Shane [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 12, 2003 7:36 AM > To: [EMAIL PROTECTED] > Subject: RE: StrutsMenu > > > Is there any work being done to generate struts menu's > dynamically? If so, > is there an estimate for when this might be available? > > Thanks, > > Shane > > -Original Message- > From: Raible, Matt [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 12, 2003 9:17 AM > To: 'Struts Users Mailing List' > Subject: RE: StrutsMenu > > > All three of the links allow "roles" to be specified in > menu-config.xml - > this is how the roles are used. For an online example, see: > > http://raibledesigns.com/struts-menu/rolesMenu.jsp > > The "dhtml" menus use ListDisplayer, not DropDownDisplayer, > so you're right > in that it's not in that one. The IE6 problem is b/c the > dhtmlDropDown does > not currently support nested children > 2. > > Care to donate your cookie code? > > One enhancement I was thinking of for struts-menu was to make an > XSLDisplayer that uses XSL on the menu-config.xml file to > change the menus. > It might be a lot of work, who knows until I get into it. > The idea would be > that there would be default XSL files for all menus, and then > I'd add a path > attribute to the tag library so users could customize there > own. Thoughts? > > > Anyone know how to read an XSL file from a JAR file? > > Matt > > > > > -Original Message- > > From: Edgar P. Dollin [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, March 12, 2003 6:30 AM > > To: 'Matt Raible' > > Cc: 'Struts Users Mailing List' > > Subject: RE: StrutsMenu > > > > > > Matt: > > > > The links below don't seem to do any role stuff that I can > find. BTW: > > there are some bugs in the dhtmlDropdown.jsp with IE6. > > > > Maybe I am reading the code incorrectly but the DropDown > > displayer never > > calls isAllowed or works with an object that does The coolmenu > > displayer does makes calls although it's structure is a tad > different > > than the drop down. I have started doing the analysis of > where to put > > the checks to enable the role/permission implementation. > > > > The tree menu link is really interesting. The guy and his bud's are > > really good. > > > > BTW: I reworked the cookies and got the menu's to act > > consistently from > > page to page. > > > > Thanks again > > > > Edgar > > > > -Original Message- > > From: Matt Raible [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, March 11, 2003 9:35 PM > > To: Edgar Dollin > > Cc: 'Struts Users Mailing List' > > Subject: RE: StrutsMenu > > > > > > > > It should already be built into the following Displayers using the > > "roles" attribute on a menu or item. > > > > http://raibledesigns.com/struts-menu/dhtmlDropdown.jsp > > http://raibledesigns.com/struts-menu/dhtmlExpandable.jsp > > http://raibledesigns.com/struts-menu/coolmenu4.jsp > > > > For saving a menu's expanded location - you might want to > look at the > > following Tree menu. I hope to add support for this type of > > menu in the > > coming weeks. > > > > http://webfx.eae.net/dhtml/xtree/demo.html > > > > HTH, > > > > Matt > > > > -Original Message- > > From: Edgar Dollin [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, March 11, 2003 6:04 PM > > To: '[EMAIL PROTECTED]' > > Cc: 'Struts Users Mailing List' > > Subject: StrutsMenu > > > > > > Would it be simple to implement roles and permissions on the > > DropDownDisplayer? I have started to look at it and am not > > sure of al
RE: StrutsMenu
You're suggesting that it's generated from a Bean or something like that? Vic mentioned he's interested in it, but the honest truth is that it'll probably be implemented when a committer wants to use it. Anybody want to become a committer? ;-) > -Original Message- > From: Witbeck, Shane [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 12, 2003 7:36 AM > To: [EMAIL PROTECTED] > Subject: RE: StrutsMenu > > > Is there any work being done to generate struts menu's > dynamically? If so, > is there an estimate for when this might be available? > > Thanks, > > Shane > > -Original Message- > From: Raible, Matt [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 12, 2003 9:17 AM > To: 'Struts Users Mailing List' > Subject: RE: StrutsMenu > > > All three of the links allow "roles" to be specified in > menu-config.xml - > this is how the roles are used. For an online example, see: > > http://raibledesigns.com/struts-menu/rolesMenu.jsp > > The "dhtml" menus use ListDisplayer, not DropDownDisplayer, > so you're right > in that it's not in that one. The IE6 problem is b/c the > dhtmlDropDown does > not currently support nested children > 2. > > Care to donate your cookie code? > > One enhancement I was thinking of for struts-menu was to make an > XSLDisplayer that uses XSL on the menu-config.xml file to > change the menus. > It might be a lot of work, who knows until I get into it. > The idea would be > that there would be default XSL files for all menus, and then > I'd add a path > attribute to the tag library so users could customize there > own. Thoughts? > > > Anyone know how to read an XSL file from a JAR file? > > Matt > > > > > -Original Message- > > From: Edgar P. Dollin [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, March 12, 2003 6:30 AM > > To: 'Matt Raible' > > Cc: 'Struts Users Mailing List' > > Subject: RE: StrutsMenu > > > > > > Matt: > > > > The links below don't seem to do any role stuff that I can > find. BTW: > > there are some bugs in the dhtmlDropdown.jsp with IE6. > > > > Maybe I am reading the code incorrectly but the DropDown > > displayer never > > calls isAllowed or works with an object that does The coolmenu > > displayer does makes calls although it's structure is a tad > different > > than the drop down. I have started doing the analysis of > where to put > > the checks to enable the role/permission implementation. > > > > The tree menu link is really interesting. The guy and his bud's are > > really good. > > > > BTW: I reworked the cookies and got the menu's to act > > consistently from > > page to page. > > > > Thanks again > > > > Edgar > > > > -Original Message- > > From: Matt Raible [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, March 11, 2003 9:35 PM > > To: Edgar Dollin > > Cc: 'Struts Users Mailing List' > > Subject: RE: StrutsMenu > > > > > > > > It should already be built into the following Displayers using the > > "roles" attribute on a menu or item. > > > > http://raibledesigns.com/struts-menu/dhtmlDropdown.jsp > > http://raibledesigns.com/struts-menu/dhtmlExpandable.jsp > > http://raibledesigns.com/struts-menu/coolmenu4.jsp > > > > For saving a menu's expanded location - you might want to > look at the > > following Tree menu. I hope to add support for this type of > > menu in the > > coming weeks. > > > > http://webfx.eae.net/dhtml/xtree/demo.html > > > > HTH, > > > > Matt > > > > -Original Message- > > From: Edgar Dollin [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, March 11, 2003 6:04 PM > > To: '[EMAIL PROTECTED]' > > Cc: 'Struts Users Mailing List' > > Subject: StrutsMenu > > > > > > Would it be simple to implement roles and permissions on the > > DropDownDisplayer? I have started to look at it and am not > > sure of all > > the touch points. > > > > BTW: my solution for restoring a menu position on a target > > page with the > > same menu as the prior page is sub-optimal. The only > solution I could > > come up with saved menu down and up movements and created expiring > > cookies on menu selection. Of course if you do any other action the > > menu doesn't r
RE: StrutsMenu
Is there any work being done to generate struts menu's dynamically? If so, is there an estimate for when this might be available? Thanks, Shane -Original Message- From: Raible, Matt [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 9:17 AM To: 'Struts Users Mailing List' Subject: RE: StrutsMenu All three of the links allow "roles" to be specified in menu-config.xml - this is how the roles are used. For an online example, see: http://raibledesigns.com/struts-menu/rolesMenu.jsp The "dhtml" menus use ListDisplayer, not DropDownDisplayer, so you're right in that it's not in that one. The IE6 problem is b/c the dhtmlDropDown does not currently support nested children > 2. Care to donate your cookie code? One enhancement I was thinking of for struts-menu was to make an XSLDisplayer that uses XSL on the menu-config.xml file to change the menus. It might be a lot of work, who knows until I get into it. The idea would be that there would be default XSL files for all menus, and then I'd add a path attribute to the tag library so users could customize there own. Thoughts? Anyone know how to read an XSL file from a JAR file? Matt > -Original Message- > From: Edgar P. Dollin [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 12, 2003 6:30 AM > To: 'Matt Raible' > Cc: 'Struts Users Mailing List' > Subject: RE: StrutsMenu > > > Matt: > > The links below don't seem to do any role stuff that I can find. BTW: > there are some bugs in the dhtmlDropdown.jsp with IE6. > > Maybe I am reading the code incorrectly but the DropDown > displayer never > calls isAllowed or works with an object that does The coolmenu > displayer does makes calls although it's structure is a tad different > than the drop down. I have started doing the analysis of where to put > the checks to enable the role/permission implementation. > > The tree menu link is really interesting. The guy and his bud's are > really good. > > BTW: I reworked the cookies and got the menu's to act > consistently from > page to page. > > Thanks again > > Edgar > > -----Original Message- > From: Matt Raible [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 11, 2003 9:35 PM > To: Edgar Dollin > Cc: 'Struts Users Mailing List' > Subject: RE: StrutsMenu > > > > It should already be built into the following Displayers using the > "roles" attribute on a menu or item. > > http://raibledesigns.com/struts-menu/dhtmlDropdown.jsp > http://raibledesigns.com/struts-menu/dhtmlExpandable.jsp > http://raibledesigns.com/struts-menu/coolmenu4.jsp > > For saving a menu's expanded location - you might want to look at the > following Tree menu. I hope to add support for this type of > menu in the > coming weeks. > > http://webfx.eae.net/dhtml/xtree/demo.html > > HTH, > > Matt > > -Original Message- > From: Edgar Dollin [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 11, 2003 6:04 PM > To: '[EMAIL PROTECTED]' > Cc: 'Struts Users Mailing List' > Subject: StrutsMenu > > > Would it be simple to implement roles and permissions on the > DropDownDisplayer? I have started to look at it and am not > sure of all > the touch points. > > BTW: my solution for restoring a menu position on a target > page with the > same menu as the prior page is sub-optimal. The only solution I could > come up with saved menu down and up movements and created expiring > cookies on menu selection. Of course if you do any other action the > menu doesn't redrop. If you are using contexts, the cookies are > discarded across the change of context. It looks like the only way to > really make menu position controllable is to do some server > side stuff. > An interesting project. > > Thanks for your help. > > Edgar > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: StrutsMenu
All three of the links allow "roles" to be specified in menu-config.xml - this is how the roles are used. For an online example, see: http://raibledesigns.com/struts-menu/rolesMenu.jsp The "dhtml" menus use ListDisplayer, not DropDownDisplayer, so you're right in that it's not in that one. The IE6 problem is b/c the dhtmlDropDown does not currently support nested children > 2. Care to donate your cookie code? One enhancement I was thinking of for struts-menu was to make an XSLDisplayer that uses XSL on the menu-config.xml file to change the menus. It might be a lot of work, who knows until I get into it. The idea would be that there would be default XSL files for all menus, and then I'd add a path attribute to the tag library so users could customize there own. Thoughts? Anyone know how to read an XSL file from a JAR file? Matt > -Original Message- > From: Edgar P. Dollin [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 12, 2003 6:30 AM > To: 'Matt Raible' > Cc: 'Struts Users Mailing List' > Subject: RE: StrutsMenu > > > Matt: > > The links below don't seem to do any role stuff that I can find. BTW: > there are some bugs in the dhtmlDropdown.jsp with IE6. > > Maybe I am reading the code incorrectly but the DropDown > displayer never > calls isAllowed or works with an object that does The coolmenu > displayer does makes calls although it's structure is a tad different > than the drop down. I have started doing the analysis of where to put > the checks to enable the role/permission implementation. > > The tree menu link is really interesting. The guy and his bud's are > really good. > > BTW: I reworked the cookies and got the menu's to act > consistently from > page to page. > > Thanks again > > Edgar > > -Original Message- > From: Matt Raible [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 11, 2003 9:35 PM > To: Edgar Dollin > Cc: 'Struts Users Mailing List' > Subject: RE: StrutsMenu > > > > It should already be built into the following Displayers using the > "roles" attribute on a menu or item. > > http://raibledesigns.com/struts-menu/dhtmlDropdown.jsp > http://raibledesigns.com/struts-menu/dhtmlExpandable.jsp > http://raibledesigns.com/struts-menu/coolmenu4.jsp > > For saving a menu's expanded location - you might want to look at the > following Tree menu. I hope to add support for this type of > menu in the > coming weeks. > > http://webfx.eae.net/dhtml/xtree/demo.html > > HTH, > > Matt > > -Original Message- > From: Edgar Dollin [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 11, 2003 6:04 PM > To: '[EMAIL PROTECTED]' > Cc: 'Struts Users Mailing List' > Subject: StrutsMenu > > > Would it be simple to implement roles and permissions on the > DropDownDisplayer? I have started to look at it and am not > sure of all > the touch points. > > BTW: my solution for restoring a menu position on a target > page with the > same menu as the prior page is sub-optimal. The only solution I could > come up with saved menu down and up movements and created expiring > cookies on menu selection. Of course if you do any other action the > menu doesn't redrop. If you are using contexts, the cookies are > discarded across the change of context. It looks like the only way to > really make menu position controllable is to do some server > side stuff. > An interesting project. > > Thanks for your help. > > Edgar > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: StrutsMenu
Matt: The links below don't seem to do any role stuff that I can find. BTW: there are some bugs in the dhtmlDropdown.jsp with IE6. Maybe I am reading the code incorrectly but the DropDown displayer never calls isAllowed or works with an object that does The coolmenu displayer does makes calls although it's structure is a tad different than the drop down. I have started doing the analysis of where to put the checks to enable the role/permission implementation. The tree menu link is really interesting. The guy and his bud's are really good. BTW: I reworked the cookies and got the menu's to act consistently from page to page. Thanks again Edgar -Original Message- From: Matt Raible [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 9:35 PM To: Edgar Dollin Cc: 'Struts Users Mailing List' Subject: RE: StrutsMenu It should already be built into the following Displayers using the "roles" attribute on a menu or item. http://raibledesigns.com/struts-menu/dhtmlDropdown.jsp http://raibledesigns.com/struts-menu/dhtmlExpandable.jsp http://raibledesigns.com/struts-menu/coolmenu4.jsp For saving a menu's expanded location - you might want to look at the following Tree menu. I hope to add support for this type of menu in the coming weeks. http://webfx.eae.net/dhtml/xtree/demo.html HTH, Matt -Original Message- From: Edgar Dollin [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 6:04 PM To: '[EMAIL PROTECTED]' Cc: 'Struts Users Mailing List' Subject: StrutsMenu Would it be simple to implement roles and permissions on the DropDownDisplayer? I have started to look at it and am not sure of all the touch points. BTW: my solution for restoring a menu position on a target page with the same menu as the prior page is sub-optimal. The only solution I could come up with saved menu down and up movements and created expiring cookies on menu selection. Of course if you do any other action the menu doesn't redrop. If you are using contexts, the cookies are discarded across the change of context. It looks like the only way to really make menu position controllable is to do some server side stuff. An interesting project. Thanks for your help. Edgar
RE: StrutsMenu
It should already be built into the following Displayers using the "roles" attribute on a menu or item. http://raibledesigns.com/struts-menu/dhtmlDropdown.jsp http://raibledesigns.com/struts-menu/dhtmlExpandable.jsp http://raibledesigns.com/struts-menu/coolmenu4.jsp For saving a menu's expanded location - you might want to look at the following Tree menu. I hope to add support for this type of menu in the coming weeks. http://webfx.eae.net/dhtml/xtree/demo.html HTH, Matt -Original Message- From: Edgar Dollin [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 6:04 PM To: '[EMAIL PROTECTED]' Cc: 'Struts Users Mailing List' Subject: StrutsMenu Would it be simple to implement roles and permissions on the DropDownDisplayer? I have started to look at it and am not sure of all the touch points. BTW: my solution for restoring a menu position on a target page with the same menu as the prior page is sub-optimal. The only solution I could come up with saved menu down and up movements and created expiring cookies on menu selection. Of course if you do any other action the menu doesn't redrop. If you are using contexts, the cookies are discarded across the change of context. It looks like the only way to really make menu position controllable is to do some server side stuff. An interesting project. Thanks for your help. Edgar