This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Direct results of every Struts action to display in a specific tile

 
Joel Florendo
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm attempting to convert a Struts 1 web app from frames to using Tiles. I have a basic layout with tabs across the top, a menu on the left that changes depending on the tab and content on the right.

Essentially every action will just display it's response in the content tile. Since the site was previously in frames, the action would just forward to the desired jsp and it would display in the content frame since it was the one the requested it. Now in Tiles, is there a way to specify to always display the response in the content tile without having to write a tile definition for every action? Trying to disturb as little of the existing application as possible.
 
Shankar Tanikella
Ranch Hand
Posts: 329
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Joel,

Welcome to JavaRanch!!!

Joel Florendo wrote:is there a way to specify to always display the response in the content tile without having to write a tile definition for every action?
No.
But if you have already gone through the tiles tutorials, you would have learnt about defining different tiles/layouts and extend them by different name[used in struts-config] which makes the job easier.

 
Joel Florendo
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Shankar Tanikella wrote:No.

Bummer...thanks for the reply
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic