D2W Navigate from Create to List
D2W Navigate from Create to List
- Subject: D2W Navigate from Create to List
- From: Markus Ruggiero <email@hidden>
- Date: Wed, 06 Nov 2013 14:38:42 +0100
What is the best way to handle the following customer request in a Neutral Look D2W application?
After pressing <Save> on a create page the customer wants to got to a list page displaying the just created object. Maybe the user wants to add a bunch of objects and might eventually miss-type a code and then not be able to figure whether he has entered the correct value. And while working off a list of data to enter he might lose track of which entry he has to add next. In other cases the creation of an object is pretty simple but afterwards editing is necessary due to very complex background processing that cannot take place before an EO has been properly saved.
Standard D2W behaviour is going back to whatever page was shown when the user pressed <New>. Customer wants to see what was just created. I was thinking of a generic next page delegate on any Create* page configuration. I know how to create a list page and return that, but the problem is how to best populate that list with the one entry that has just been saved. I was thinking of creating an array datasource for the list page with that one object, but should this not be a database datasource? How would I then create a proper fetch spec? As there are many different types of EOs I cannot just pick some common attribute and create a qualifier for its value. The only real identifier would be the primary key but that is of course not modeled.
Thanks for any ideas. ---markus---
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden