--
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 model...@googlegroups.com
To unsubscribe from this group, send email to
model-glue+...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en
Marc
--
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 model...@googlegroups.com
To unsubscribe from this group, send email to
model-glue+...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en
I also wanted to note that a little while ago we disabled anonymous
editing of the MG wiki, as we were being inundated with spam, and were
not having much luck with Trac's spam filter. Marc, please email me
off-list to let me know what you would like your username to be, and
I'll set up an account for you.
Oh, and you're quite right regarding the generatedViewMapping setting,
I went ahead and made that change (thanks very much for pointing it
out).
As to the specific questions you posed:
> Do I have to add list,view,edit,commit,delete functions to the page controller and have those in turn call the corresponding functions in the ORM (page.cfc)?
No. You don't actually need a controller at all if you're only using
scaffolding, as the data retrieval/persistence is all handled by GDMs
(Generic Database Messages):
http://docs.model-glue.com/wiki/HowTos/HowToUseGenericDatabaseMessages
You can take a look at the generated Scaffolds.xml file to see how
it's putting the event-handlers together.
> Do I have to add create list,view,edit,commit,delete functions to the page.cfc entity?
No, the CF 9 ORM adapter and service take care of this functionality.
> What datastructures is the generated view expecting when displaying data? A query resultset? An array of beans?
Dan is exactly correct that the list views are passed a query, and the
display and form views are passed an entity bean.
HTH,
--
Ezra Parker