1. IoC for SimpleFormController.commandClass forum.springsource.orgIoC for SimpleFormController.commandClass Hi, SimpleFormController usually used so: Code: |
2. Initializing commandClass in SimpleFormController forum.springsource.orgInitializing commandClass in SimpleFormController I have an instance of SimpleFormController which handles the URL /query.htm. Further, I am injecting commandClass into the SimpleFormHandler using the bean descriptor as follows. When query.htm ... |
3. setting the commandClass in the controller forum.springsource.orgHai users I want to set the commandclass manually based on a condition(i,e) in a master detail form i have 1 commandclass for master and 2 more commandclass for 2 detail ... |
4. SimpleFormController instantiating the commandClass forum.springsource.orgSimpleFormController instantiating the commandClass In the SimpleFormController we set the commandclass and the commandName. This causes the bean to be instantiated by calling createCommand() in the BaseCommandController, which initialises it via ... |
5. updation using CommandClass of SimpleFormController forum.springsource.orghi i m using spring... i hv an object that contains three other objects in it... lets say a quote object . when creating quote i populate the command class that ... |
6. SimpleFormController and commandClass forum.springsource.orghi, i m using SimpleFormController for a jsp page ... it works but now i want to edit some data and i want to get it from database to show to ... |
7. more than one commandclass for one controller? forum.springsource.orgi have one jsp which uses 3 forms one controller.........so in tht controller i need to send the data back to the jsp........how do i do tht? |
8. Is it best practice to mention commandClass in the controller ? forum.springsource.orgYou only need to override formBackingObject if you need to do some custom setup or don't have a default no-arg constructor. If non of those apply simply configure a commandClass. I ... |