Changes between Version 19 and Version 20 of ReferenceMaterials/ModelGlueXmlReference
- Timestamp:
- 05/17/10 03:43:28 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ReferenceMaterials/ModelGlueXmlReference
v19 v20 74 74 ==== Attributes ==== 75 75 76 1. Name(Required) - A unique name for this controller. A Model-Glue application where multiple controllers are added with the same name will currently confuse the framework (as of 2.0 Beta 1). This will eventually be resolved.76 1. ID (Required) - A unique name for this controller. A Model-Glue application where multiple controllers are added with the same name will currently confuse the framework (as of 2.0 Beta 1). This will eventually be resolved. 77 77 1. Type (Required) - The CFC to use for a controller in the same format that you'd use in a !CreateObject() call, such as "myapplication.controller.!MyController" 78 78 1. Beans (Optional) - A bean (or comma delimited list, if more than one) as defined in !ColdSpring.xml, that will be accessible to any cffunction in the controller. Replaces the need for getModelGlue().getBean() within controller methods. See [wiki:HowTos/HowToUseBeanInjection How To Use Bean Injection] for more information.
![(please configure the [header_logo] section in trac.ini)](/ModelGlue.com/trac.cgi/chrome/site/your_project_logo.png)