aspose file tools*
The moose likes Struts and the fly likes Tiles: how to refresh just one tile? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Tiles: how to refresh just one tile?" Watch "Tiles: how to refresh just one tile?" New topic
Author

Tiles: how to refresh just one tile?

Tong Wang
Ranch Hand

Joined: Jun 20, 2005
Posts: 44
Greetings, everyone!

I am using tiles for all my pages, which have 3 parts: a header on the top, a menu on the left below header and a body for the rest of the screen. For the menu part, I have different links that will display different pages in the body part.

The problem I have is that when I click a link in the menu part, the whole screen is refreshed (header + menu + body), even though only body changes. When I was doing the old style JSP, I could have a frame/iframe for each part of the page and only the frame that changes will refresh. So, how could I achieve the same in Tiles?

Best regards,
Tong
Chris Boldon
Ranch Hand

Joined: Aug 10, 2006
Posts: 190
To my knowledge you can't. This is why I use a div refresh.
Tong Wang
Ranch Hand

Joined: Jun 20, 2005
Posts: 44
Hi Chris,

Thanks for the reply. Could you please provide a bit more detail on the div refresh as I am not familiar with this technique?

Thanks,
Tong
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tiles: how to refresh just one tile?