PDA

View Full Version : Complex editing screens (Using hibernate as dao)


cmrudd
Sep 30th, 2005, 07:13 PM
I can find simple examples by the handull ( where pull back data, edit the info and save on submit ), but I cant seem to find any more complex scenarios.

Im looking for something of the sort where you pull back the data, make several roundtrips editing different parts of the data (as in sub screens) then do a single commit at the end.

For example editing an order,pull back the order from the db, add/delete/modify multiple detail items then when your all done, you save it.

adamjk
Sep 30th, 2005, 10:05 PM
This is definitely an issue to face for anyone developing a mildly comprehensive app...

There has been posts about a MultiActionFormController which helps with multiple screens, validators for one command object. Check out http://forum.springframework.org/showthread.php?t=11086

There is also the tried and true AbstractWizardFormController for form wizards.

hope this helps