Changes between Version 19 and Version 20 of ReferenceMaterials/ModelGlueXmlReference

Show
Ignore:
Timestamp:
05/17/10 03:43:28 (16 years ago)
Author:
dan.skaggs@… (IP: 97.89.95.158)
Comment:

Changed "name" attribute of controller tag to "id"

Legend:

Unmodified
Added
Removed
Modified
  • ReferenceMaterials/ModelGlueXmlReference

    v19 v20  
    7474==== Attributes ==== 
    7575 
    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. 
    7777  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" 
    7878  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.