Announcement Announcement Module
Collapse
No announcement yet.
AbstractWizardController views Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • AbstractWizardController views

    Hello,
    I have implemented new Controller which extends AbstractWizardController. In servlet, I want to define only three pages - one each for three different views - excel, pdf, xml. However, for each of the excel,pdf, xml pages I define in servlet for my controller, I want to define many different views because, based on command object properties, I want to have different templates for excel and different stylesheets for xml. I could have added each of my views as pages in servlet, but I have about 40+ different templates and stylesheets and don't want to have 40 pages on my controller.

    I need some advice in how to handle such cases -where I can just define a placeholder view in my servlet controller for pages, and then get the real view name from some sort of other mapping or bean definition.
Working...
X