Multiple forms using Spring and Spring Roo?

The easiest way is to let Roo generate the controller for person update. Then copy the created controller method (updateForm) from the? _Roo_Controller.

Aj file in the controller class (Use the "Push In" Refactoring in the Outline View of the AspectJ file. )).

The easiest way is to let Roo generate the controller for person update. Then copy the created controller method (updateForm) from the? _Roo_Controller.

Aj file in the controller class (Use the "Push In" Refactoring in the Outline View of the AspectJ file. )). Roo will recognize that and remove the updateForm method from the aj file.

Then you can enhance the method like you want. Anyway with your Two-Form-Page you are leaving the support of Roo. So it is may better and cleaner to let roo generate the Controller Class and the jspx and then disable the roo support for THIS controller.(Run "Push In" and the remove @RooWebScaffold annotation) Roo Will delete the?

_Roo_Controller. Aj file. But do not delete the @RequestMapping annotation, it is part of Spring-MVC (not of Roo).

As Ralph described you need to push-in the createForm-method first. Then duplicate the addAttribute-line and change the entity like in the following code: @RequestMapping(params = "form", method = RequestMethod. GET) public String createForm(Model uiModel) { uiModel.

AddAttribute("person", new Person()); uiModel. AddAttribute("address", new Address()); return "person/update"; } Your view should work now.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions