RE: menu system in front of a J2EE application
Hello Not sure if you could.. An idea would be to use AOP and instead of loading the menu from The menu-config.xml you could load it from your database That could be a possibility, since afaik the menu is always Contained within MenuLoader (or something like that),so it's not read >From menu-config.xml all the time I guess the author (Matt Raible) would know better Regards marco -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Danny Lee Sent: 19 January 2006 11:09 To: user@struts.apache.org Subject: Re: menu system in front of a J2EE application You can use Struts-Menu, it's sure is a good thing. The only issue is, that you can't generate the first menu level dynamically (or it's not easy). So if you wan't to have something like: Group 1 - Project 1 - Project 2 - Project 3 Group 2 - Project 1 - Project 2 - subproject 1 - Project 3 You have in mind, that you have to put the Groups in JSP, but you can build the rest of the structure dynamically using DB or some other information source. Or if you don't need any automation, you just use XML, like described in the S-Menu docs. That's real easy. BTW Guys if someone of you knows how to build the first menu level from the DB too, please write me!!! :))) Cheers, Danny - 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: menu system in front of a J2EE application
You can use Struts-Menu, it's sure is a good thing. The only issue is, that you can't generate the first menu level dynamically (or it's not easy). So if you wan't to have something like: Group 1 - Project 1 - Project 2 - Project 3 Group 2 - Project 1 - Project 2 - subproject 1 - Project 3 You have in mind, that you have to put the Groups in JSP, but you can build the rest of the structure dynamically using DB or some other information source. Or if you don't need any automation, you just use XML, like described in the S-Menu docs. That's real easy. BTW Guys if someone of you knows how to build the first menu level from the DB too, please write me!!! :))) Cheers, Danny - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [OT] Re: Menu in Struts tiles
Hello, Sorry I missed your posts... I have different suggestion though... I posted this morning about using struts-menu for generating menus for struts... It is configurable via an XML file in which you list your menu/menu options Easy to configure and straightforward to use... HTH Marco PS author of struts Menu code is Matt Raible, in case someone argues that I am using this list To advertise my work :) -Original Message- From: Kanuri, Chand [mailto:[EMAIL PROTECTED] Sent: 14 November 2005 16:16 To: 'Struts Users Mailing List' Subject: RE: [OT] Re: Menu in Struts tiles Hi , i managed to set my collection in the application scope, how can i display this collection? cheers. -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: 14 November 2005 14:37 To: Struts Users Mailing List Subject: [OT] Re: Menu in Struts tiles Please reply to the list rather than me personally. Kanuri, Chand wrote: > actually there is no database in my webapp. > just want to have a menu which should get menu items from properties file. > how can i achieve this?or suggest me if there is any otherway plz. Read the properties file during application initialization and create a list in application scope. In the menu tile iterate over this list and create the menu items. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail (and any attachments) may contain privileged and/or confidential information. If you are not the intended recipient please do not disclose, copy, distribute, disseminate or take any action in reliance on it. If you have received this message in error please reply and tell us and then delete it. Should you wish to communicate with us by e-mail we cannot guarantee the security of any data outside our own computer systems. For the protection of Legal & General's systems and staff, incoming emails will be automatically scanned. Any information contained in this message may be subject to applicable terms and conditions and must not be construed as giving investment advice within or outside the United Kingdom. The following companies are subsidiary companies of the Legal & General Group Plc which are authorised and regulated by the Financial Services Authority for advising and arranging the products shown: Legal & General Partnership Services Limited (insurance and mortgages), Legal & General Insurance Limited (insurance), Legal & General Assurance Society Limited (life assurance, pensions and investments), Legal & General Unit Trust Managers Limited and Legal & General Portfolio Management Services Limited (investments). They are registered in England under numbers shown. The registered office is Temple Court, 11 Queen Victoria Street, London EC4N 4TP. Legal & General Partnership Services Limited: 5045000 Legal & General Assurance Society Limited: 166055 Legal & General (Unit Trust Managers) Limited: 1009418 Legal & General (Portfolio Management Services) Limited: 2457525 Legal & General Insurance Limited: 423930 They are registered with the Financial Services Authority under numbers shown. You can check this at www.fsa.gov.uk/register Legal & General Partnership Services Limited: 300792 Legal & General Assurance Society Limited: 117659 Legal & General (Unit Trust Managers) Limited: 119273 Legal & General (Portfolio Management Services) Limited: 146786 Legal & General Insurance Limited: 202050 - 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: [OT] Re: Menu in Struts tiles
Kanuri, Chand wrote: thanks for your suggestion but how can i create a list in application scope.can you please guide me with some sample code? Nope. But check out general J2EE documentation and look at the servlet context and setAttribute. It's not a requirement that the list go into the application scope, but it seems the most logical place. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [OT] Re: Menu in Struts tiles
Hi , i managed to set my collection in the application scope, how can i display this collection? cheers. -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: 14 November 2005 14:37 To: Struts Users Mailing List Subject: [OT] Re: Menu in Struts tiles Please reply to the list rather than me personally. Kanuri, Chand wrote: > actually there is no database in my webapp. > just want to have a menu which should get menu items from properties file. > how can i achieve this?or suggest me if there is any otherway plz. Read the properties file during application initialization and create a list in application scope. In the menu tile iterate over this list and create the menu items. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail (and any attachments) may contain privileged and/or confidential information. If you are not the intended recipient please do not disclose, copy, distribute, disseminate or take any action in reliance on it. If you have received this message in error please reply and tell us and then delete it. Should you wish to communicate with us by e-mail we cannot guarantee the security of any data outside our own computer systems. For the protection of Legal & General's systems and staff, incoming emails will be automatically scanned. Any information contained in this message may be subject to applicable terms and conditions and must not be construed as giving investment advice within or outside the United Kingdom. The following companies are subsidiary companies of the Legal & General Group Plc which are authorised and regulated by the Financial Services Authority for advising and arranging the products shown: Legal & General Partnership Services Limited (insurance and mortgages), Legal & General Insurance Limited (insurance), Legal & General Assurance Society Limited (life assurance, pensions and investments), Legal & General Unit Trust Managers Limited and Legal & General Portfolio Management Services Limited (investments). They are registered in England under numbers shown. The registered office is Temple Court, 11 Queen Victoria Street, London EC4N 4TP. Legal & General Partnership Services Limited: 5045000 Legal & General Assurance Society Limited: 166055 Legal & General (Unit Trust Managers) Limited: 1009418 Legal & General (Portfolio Management Services) Limited: 2457525 Legal & General Insurance Limited: 423930 They are registered with the Financial Services Authority under numbers shown. You can check this at www.fsa.gov.uk/register Legal & General Partnership Services Limited: 300792 Legal & General Assurance Society Limited: 117659 Legal & General (Unit Trust Managers) Limited: 119273 Legal & General (Portfolio Management Services) Limited: 146786 Legal & General Insurance Limited: 202050 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [OT] Re: Menu in Struts tiles
Hi Dave, thanks for your suggestion but how can i create a list in application scope.can you please guide me with some sample code? Cheers -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: 14 November 2005 14:37 To: Struts Users Mailing List Subject: [OT] Re: Menu in Struts tiles Please reply to the list rather than me personally. Kanuri, Chand wrote: > actually there is no database in my webapp. > just want to have a menu which should get menu items from properties file. > how can i achieve this?or suggest me if there is any otherway plz. Read the properties file during application initialization and create a list in application scope. In the menu tile iterate over this list and create the menu items. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail (and any attachments) may contain privileged and/or confidential information. If you are not the intended recipient please do not disclose, copy, distribute, disseminate or take any action in reliance on it. If you have received this message in error please reply and tell us and then delete it. Should you wish to communicate with us by e-mail we cannot guarantee the security of any data outside our own computer systems. For the protection of Legal & General's systems and staff, incoming emails will be automatically scanned. Any information contained in this message may be subject to applicable terms and conditions and must not be construed as giving investment advice within or outside the United Kingdom. The following companies are subsidiary companies of the Legal & General Group Plc which are authorised and regulated by the Financial Services Authority for advising and arranging the products shown: Legal & General Partnership Services Limited (insurance and mortgages), Legal & General Insurance Limited (insurance), Legal & General Assurance Society Limited (life assurance, pensions and investments), Legal & General Unit Trust Managers Limited and Legal & General Portfolio Management Services Limited (investments). They are registered in England under numbers shown. The registered office is Temple Court, 11 Queen Victoria Street, London EC4N 4TP. Legal & General Partnership Services Limited: 5045000 Legal & General Assurance Society Limited: 166055 Legal & General (Unit Trust Managers) Limited: 1009418 Legal & General (Portfolio Management Services) Limited: 2457525 Legal & General Insurance Limited: 423930 They are registered with the Financial Services Authority under numbers shown. You can check this at www.fsa.gov.uk/register Legal & General Partnership Services Limited: 300792 Legal & General Assurance Society Limited: 117659 Legal & General (Unit Trust Managers) Limited: 119273 Legal & General (Portfolio Management Services) Limited: 146786 Legal & General Insurance Limited: 202050 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[OT] Re: Menu in Struts tiles
Please reply to the list rather than me personally. Kanuri, Chand wrote: actually there is no database in my webapp. just want to have a menu which should get menu items from properties file. how can i achieve this?or suggest me if there is any otherway plz. Read the properties file during application initialization and create a list in application scope. In the menu tile iterate over this list and create the menu items. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Menu in Struts tiles
Kanuri, Chand wrote: can any one suggest me to build the menu in tiles purely using java code? Meaning what, you want the menu items to come from a database? Be held in beans used by the tiles? This e-mail (and any attachments) may contain privileged and/or confidential information. If you are not the intended recipient please do not disclose, copy, distribute, disseminate or take any action in reliance on it. If you have received this message in error please reply and tell us and then delete it. Should you wish to communicate with us by e-mail we cannot guarantee the security of any data outside our own computer systems. For the protection of Legal & General's systems and staff, incoming emails will be automatically scanned. Any information contained in this message may be subject to applicable terms and conditions and must not be construed as giving investment advice within or outside the United Kingdom. The following companies are subsidiary companies of the Legal & General Group Plc which are authorised and regulated by the Financial Services Authority for advising and arranging the products shown: Legal & General Partnership Services Limited (insurance and mortgages), Legal & General Insurance Limited (insurance), Legal & General Assurance Society Limited (life assurance, pensions and investments), Legal & General Unit Trust Managers Limited and Legal & General Portfolio Management Services Limited (investments). They are registered in England under numbers shown. The registered office is Temple Court, 11 Queen Victoria Street, London EC4N 4TP. Legal & General Partnership Services Limited: 5045000 Legal & General Assurance Society Limited: 166055 Legal & General (Unit Trust Managers) Limited: 1009418 Legal & General (Portfolio Management Services) Limited: 2457525 Legal & General Insurance Limited: 423930 They are registered with the Financial Services Authority under numbers shown. You can check this at www.fsa.gov.uk/register Legal & General Partnership Services Limited: 300792 Legal & General Assurance Society Limited: 117659 Legal & General (Unit Trust Managers) Limited: 119273 Legal & General (Portfolio Management Services) Limited: 146786 Legal & General Insurance Limited: 202050 Wow. I think you just won. That's crazy. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Menu Layout
That was quick and clear. Many thanks Kevin -Original Message- From: Marco Mistroni [mailto:[EMAIL PROTECTED] Sent: 14 November 2005 11:23 To: 'Struts Users Mailing List' Subject: RE: Menu Layout Hello, Might be OT, but have you checked Struts-Menu project (in sourceforge, but a google search will find it)? It does exactly what you are looking for HTH marco -Original Message- From: Leahy, Kevin [mailto:[EMAIL PROTECTED] Sent: 14 November 2005 11:19 To: 'Struts Users Mailing List' Subject: RE: Menu Layout Does anyone know if the menu elements can be generated dynamically? In my application I have a menu section called 'My Searches'. This section is drawn up from the database looking for the current users saved searches. For each search there are various options e.g. edit/view/delete/add user etc. For each search the current user may only have permission to do some of them hence they won't always be displayed. At the moment I'm using a javascript built menu that defines itself at the top of the jsp using jstl to build the javascipt elemements, but it looks pretty messy! If this struts menu system can do what I want I'd prefer to use that. Can anyone advise on this? -Original Message- From: bib_lucene bib [mailto:[EMAIL PROTECTED] Sent: 12 November 2005 21:36 To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: Menu Layout Thanks Ted Perfect thanks. The only concern I have on this is last release is sept 2004. Is it ok to use it now. bib/- Ted Husted <[EMAIL PROTECTED]> wrote: If this is the sort of thing you mean * http://demo.raibledesigns.com/struts-menu/permissionsForm.jsp then try this * http://struts-menu.sourceforge.net/ -- HTH, Ted. http://www.husted.com/poe/ On 11/12/05, bib_lucene bib wrote: > Hi All > > I looking for a sample to construct menu. I am using struts and tiles. > > My requirement is I have to show a small image and a name next image > in my menu. Clicking on the menu item body tile should change. I am using classiclayout. > > The problem is I am able to put just text in menu Item, However each > menu item I need has a image and text in each line. > > Please let me know. Code snippet is highly appreciated. > > Thanks > bib - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Yahoo! FareChase - Search multiple travel sites in one click. The information contained herein is confidential and is intended solely for the addressee. Access by any other party is unauthorised without the express written permission of the sender. If you are not the intended recipient, please contact the sender either via the company switchboard on +44 (0)20 7623 8000, or via e-mail return. If you have received this e-mail in error or wish to read our e-mail disclaimer statement and monitoring policy, please refer to http://www.drkw.com/disc/email/ or contact the sender. 3166 - 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] -- The information contained herein is confidential and is intended solely for the addressee. Access by any other party is unauthorised without the express written permission of the sender. If you are not the intended recipient, please contact the sender either via the company switchboard on +44 (0)20 7623 8000, or via e-mail return. If you have received this e-mail in error or wish to read our e-mail disclaimer statement and monitoring policy, please refer to http://www.drkw.com/disc/email/ or contact the sender. 3166 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Menu Layout
Hello, Might be OT, but have you checked Struts-Menu project (in sourceforge, but a google search will find it)? It does exactly what you are looking for HTH marco -Original Message- From: Leahy, Kevin [mailto:[EMAIL PROTECTED] Sent: 14 November 2005 11:19 To: 'Struts Users Mailing List' Subject: RE: Menu Layout Does anyone know if the menu elements can be generated dynamically? In my application I have a menu section called 'My Searches'. This section is drawn up from the database looking for the current users saved searches. For each search there are various options e.g. edit/view/delete/add user etc. For each search the current user may only have permission to do some of them hence they won't always be displayed. At the moment I'm using a javascript built menu that defines itself at the top of the jsp using jstl to build the javascipt elemements, but it looks pretty messy! If this struts menu system can do what I want I'd prefer to use that. Can anyone advise on this? -Original Message- From: bib_lucene bib [mailto:[EMAIL PROTECTED] Sent: 12 November 2005 21:36 To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: Menu Layout Thanks Ted Perfect thanks. The only concern I have on this is last release is sept 2004. Is it ok to use it now. bib/- Ted Husted <[EMAIL PROTECTED]> wrote: If this is the sort of thing you mean * http://demo.raibledesigns.com/struts-menu/permissionsForm.jsp then try this * http://struts-menu.sourceforge.net/ -- HTH, Ted. http://www.husted.com/poe/ On 11/12/05, bib_lucene bib wrote: > Hi All > > I looking for a sample to construct menu. I am using struts and tiles. > > My requirement is I have to show a small image and a name next image in my menu. Clicking on the menu item body tile should change. I am using classiclayout. > > The problem is I am able to put just text in menu Item, However each menu item I need has a image and text in each line. > > Please let me know. Code snippet is highly appreciated. > > Thanks > bib - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Yahoo! FareChase - Search multiple travel sites in one click. The information contained herein is confidential and is intended solely for the addressee. Access by any other party is unauthorised without the express written permission of the sender. If you are not the intended recipient, please contact the sender either via the company switchboard on +44 (0)20 7623 8000, or via e-mail return. If you have received this e-mail in error or wish to read our e-mail disclaimer statement and monitoring policy, please refer to http://www.drkw.com/disc/email/ or contact the sender. 3166 - 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: Menu Layout
Does anyone know if the menu elements can be generated dynamically? In my application I have a menu section called 'My Searches'. This section is drawn up from the database looking for the current users saved searches. For each search there are various options e.g. edit/view/delete/add user etc. For each search the current user may only have permission to do some of them hence they won't always be displayed. At the moment I'm using a javascript built menu that defines itself at the top of the jsp using jstl to build the javascipt elemements, but it looks pretty messy! If this struts menu system can do what I want I'd prefer to use that. Can anyone advise on this? -Original Message- From: bib_lucene bib [mailto:[EMAIL PROTECTED] Sent: 12 November 2005 21:36 To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: Menu Layout Thanks Ted Perfect thanks. The only concern I have on this is last release is sept 2004. Is it ok to use it now. bib/- Ted Husted <[EMAIL PROTECTED]> wrote: If this is the sort of thing you mean * http://demo.raibledesigns.com/struts-menu/permissionsForm.jsp then try this * http://struts-menu.sourceforge.net/ -- HTH, Ted. http://www.husted.com/poe/ On 11/12/05, bib_lucene bib wrote: > Hi All > > I looking for a sample to construct menu. I am using struts and tiles. > > My requirement is I have to show a small image and a name next image in my menu. Clicking on the menu item body tile should change. I am using classiclayout. > > The problem is I am able to put just text in menu Item, However each menu item I need has a image and text in each line. > > Please let me know. Code snippet is highly appreciated. > > Thanks > bib - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Yahoo! FareChase - Search multiple travel sites in one click. The information contained herein is confidential and is intended solely for the addressee. Access by any other party is unauthorised without the express written permission of the sender. If you are not the intended recipient, please contact the sender either via the company switchboard on +44 (0)20 7623 8000, or via e-mail return. If you have received this e-mail in error or wish to read our e-mail disclaimer statement and monitoring policy, please refer to http://www.drkw.com/disc/email/ or contact the sender. 3166 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Menu Layout
Thanks Ted Perfect thanks. The only concern I have on this is last release is sept 2004. Is it ok to use it now. bib/- Ted Husted <[EMAIL PROTECTED]> wrote: If this is the sort of thing you mean * http://demo.raibledesigns.com/struts-menu/permissionsForm.jsp then try this * http://struts-menu.sourceforge.net/ -- HTH, Ted. http://www.husted.com/poe/ On 11/12/05, bib_lucene bib wrote: > Hi All > > I looking for a sample to construct menu. I am using struts and tiles. > > My requirement is I have to show a small image and a name next image in my > menu. Clicking on the menu item body tile should change. I am using > classiclayout. > > The problem is I am able to put just text in menu Item, However each menu > item I need has a image and text in each line. > > Please let me know. Code snippet is highly appreciated. > > Thanks > bib - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Yahoo! FareChase - Search multiple travel sites in one click.
Re: Menu Layout
If this is the sort of thing you mean * http://demo.raibledesigns.com/struts-menu/permissionsForm.jsp then try this * http://struts-menu.sourceforge.net/ -- HTH, Ted. http://www.husted.com/poe/ On 11/12/05, bib_lucene bib <[EMAIL PROTECTED]> wrote: > Hi All > > I looking for a sample to construct menu. I am using struts and tiles. > > My requirement is I have to show a small image and a name next image in my > menu. Clicking on the menu item body tile should change. I am using > classiclayout. > > The problem is I am able to put just text in menu Item, However each menu > item I need has a image and text in each line. > > Please let me know. Code snippet is highly appreciated. > > Thanks > bib - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Menu
Take a look at this site: http://struts-menu.sourceforge.net/ -Original Message- From: Marcelo Epstein [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 16, 2005 5:49 PM To: Struts Users Mailing List Subject: Menu Hi, I am developing a software for a company using struts. What is the best way to create the menus to navigate in the system? JSF? Simple HTML with javascript? Tag libraries? Thanks in advance, Marcelo Epstein - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]