aspose file tools*
The moose likes Struts and the fly likes Direct results of every Struts action to display in a specific tile Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Direct results of every Struts action to display in a specific tile" Watch "Direct results of every Struts action to display in a specific tile" New topic
Author

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

Joel Florendo
Greenhorn

Joined: Jun 11, 2012
Posts: 2
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

Joined: Jan 30, 2011
Posts: 329

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.



Have Fun with Java
little,little.. little by little makes a lot..
Joel Florendo
Greenhorn

Joined: Jun 11, 2012
Posts: 2
Shankar Tanikella wrote:No.

Bummer...thanks for the reply
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Direct results of every Struts action to display in a specific tile