File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • 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
  • 0
  • 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
  • 0
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Shankar Tanikella wrote:No.

Bummer...thanks for the reply
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic