Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

problem with Tiles (Stuts) and my menu

 
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

I want to know how will you implement a menu in tiles. I have these 4 tiles.

1 = view.header
2 = view.menu
3 = view.body
4 = view.footer

but this is my problem. My menu has 4 items and 2 sub items



so if you click on reports it should dynamically update the view.menu and display the History and clients link. when you click on these links it should redirect you.

How will i be able to update the menu with out affecting the current jsp page the user is working on??

Please i`m new to this and not sure what to do??

thanks
Derick
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you can go with a collapsing tree format of the menu tile. By using this, you should be able to view the submenus in ur menu tile, when the user clicks on "reports".

And you can give the hrefs for all the menu items & the submenu items.

This should surely solve ur problem.

Regards,
wonderprat
 
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this thread to the Web Application Frameworks forum, since it is about Struts/Tiles.
 
Hold that thought. Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic