wowiesy
Aug 12th, 2007, 01:44 PM
Given a typical Order form (customer, customer details, items, item details) - in a client/server system, the customer can easily be looked up, the items can easily be looked up - especially if the user is not familiar with the customer names and the item names.
For a web application - using Spring MVC in particular (Spring controllers, JSP)- what's the best way (and how - generally) to implement such functionality? SimpleFormController provides a basic form workflow, but if I use this, I may have to override referenceData method to include all the possible lookup data (customer names & details, item numbers & details) so that the user can do a search and fill up the order, then submit the form so the order can be processsed. Seems that there is a problem to this approach especially if the data is already huge (customers and items).
Any alternatives?
For a web application - using Spring MVC in particular (Spring controllers, JSP)- what's the best way (and how - generally) to implement such functionality? SimpleFormController provides a basic form workflow, but if I use this, I may have to override referenceData method to include all the possible lookup data (customer names & details, item numbers & details) so that the user can do a search and fill up the order, then submit the form so the order can be processsed. Seems that there is a problem to this approach especially if the data is already huge (customers and items).
Any alternatives?