Jeremy, On Mon, Dec 14, 2009 at 5:51 PM, Jeremy Rottman <[email protected]> wrote:
> I ended up doing exactly as you described. I used the article > controller to return the detail information about the author. > Good. But you will run into times when you need to make a logical decision about what event to run next, depending on values returned within your controller. For instance, if an Author record is saved correctly, you might want to return to a list of Authors, with an appropriate message to the user. But if the save failed for some reason - perhaps a validation failed - then you might want to return to the Author edit page, with the form fields filled out. When you hit a situation like this, you _will_ need to return a "result" and choose an event based on that result. So check into the docs about "results," when you have a chance. Glad you got it worked out. -- Thanks, Tom Tom McNeer MediumCool http://www.mediumcool.com 1735 Johnson Road NE Atlanta, GA 30306 404.589.0560 -- Model-Glue Sites: Home Page: http://www.model-glue.com Documentation: http://docs.model-glue.com Bug Tracker: http://bugs.model-glue.com Blog: http://www.model-glue.com/blog You received this message because you are subscribed to the Google Groups "model-glue" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/model-glue?hl=en
