File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes problem with Tiles (Stuts) and my menu Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "problem with Tiles (Stuts) and my menu" Watch "problem with Tiles (Stuts) and my menu" New topic
Author

problem with Tiles (Stuts) and my menu

Derick Potgieter
Ranch Hand

Joined: Feb 19, 2004
Posts: 53
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


SCJP, SCJD, SCWCD, SCBCD (JEE)
wonderprat shah
Greenhorn

Joined: May 30, 2004
Posts: 6
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
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

Moving this thread to the Web Application Frameworks forum, since it is about Struts/Tiles.


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
jQuery in Action, 2nd edition
 
subject: problem with Tiles (Stuts) and my menu