wood burning stoves 2.0*
The moose likes Struts and the fly likes Tiles refresh problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Tiles refresh problem" Watch "Tiles refresh problem" New topic

Tiles refresh problem

Ranch Hand

Joined: May 29, 2002
Posts: 198
Hi All,

I ma using struts with tiles.The header for the application gets refreshed every time.The header contains a menu bar and each menu can have a sub menu bar.When user navigates from a menu to sub menubar and clicks on a sub menu item ,the whole page gets refreshed i.e the header does not show which particular sub menu was clicked.

Any solution for the same.I am quite inclined towards using tiles.

Periakaruppan Thiagarajan
Ranch Hand

Joined: Jul 26, 2005
Posts: 65
Hi Ajay,
I had faced the same problem. But, I solved the problem by adding two attributes(one for main menu and other for sub menu) in the form bean and written some login in the jsp files.
Ranch Hand

Joined: May 29, 2002
Posts: 198
Thanks Periakaruppan Thiagarajan

Were you able to solve the problem with tiles solution.
If so can you elaborate what do you mean by
'written some login in jsp files'.

It is sorta covered in the JavaRanch Style Guide.
subject: Tiles refresh problem
Similar Threads
Frames in Tiles
jsf scrollbar
Tiles vs Frames
page layout using struts template refresh the whole page
Tiles: how to refresh just one tile?