Changes between Version 28 and Version 29 of ReferenceMaterials/ModelGlueXmlReference

Show
Ignore:
Timestamp:
11/17/10 17:33:29 (15 years ago)
Author:
dskaggs (IP: 24.151.200.166)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ReferenceMaterials/ModelGlueXmlReference

    v28 v29  
    8181 
    8282  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. 
    83   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" 
     83  1. Type (Optional) - The CFC to use for a controller in the same format that you'd use in a !CreateObject() call, such as "myapplication.controller.!MyController" (Required if not using the 'bean' attribute below) 
    8484  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.  Note that this can also be done from within the controller as an attribute to the <cfcomponent> tag. 
     85  1. bean (Optional) - If you wish to define the controller directly in your ColdSpring.xml you can tell ModelGlue the id of it here instead of providing a type (Required if not using the 'type' attribute above). 
    8586 
    8687==== Child Tags ====