Announcement Announcement Module
Collapse
No announcement yet.
stupid question - AbstractWizardFormController Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • stupid question - AbstractWizardFormController

    hi there!

    after some success using AbstractCommandController i'm trying to use AbstractWizardFormController for some hours. i really had a hard time and don't find the solution:

    the situation is, that i'm getting the first time to the controller+view from somewhere.if i'm using the AbstractCommandController the DispatcherServlet calls handle(...) which returns a ModelAndView-Object, which contains the Object referenced on the jsp-page in some scope:
    EditRoleCommand role = (EditRoleCommand) getWebApplicationContext().getBean( "editRoleCommand" );
    ModelAndView result = new ModelAndView("editRole");
    result.addObject("role", role);

    now i need the same thing for AbstractWizardFormController. this is, i need to put an object in some scope before getting to the jsp-page. how do i do this - which method do i have to use? handle(...) does not exist; handleRequest(...) and showForm(...) are final.

    stupid question, i know - but please help me.
    thanks andreas
Working...
X