• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 329
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Shankar Tanikella wrote:No.


Bummer...thanks for the reply
 
Won't you be my neighbor? - Fred Rogers. tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic