Changes between Version 13 and Version 14 of ReferenceMaterials/ModelGlueXmlReference

Show
Ignore:
Timestamp:
01/12/10 23:59:51 (16 years ago)
Author:
boomfish (IP: 66.194.118.10)
Comment:

Added <view> and <module> tags, and updated info for MG3 (including actionpack support)

Legend:

Unmodified
Added
Removed
Modified
  • ReferenceMaterials/ModelGlueXmlReference

    v13 v14  
    5858Used in Model-Glue XML fragments to define additional settings and by legacy Model-Glue 1.x applications to define settings. 
    5959 
    60 ''This tag is largely unused in Model-Glue 2.0+! '' 
     60''This tag was largely unused in Model-Glue 2, but may be used in Model-Glue 3 to define actionpacks.'' 
    6161 
    6262==== Attributes ==== 
     
    215215  1. <include> 
    216216  1. <config> 
     217  1. <event-types> 
     218  1. <module> 
     219  1. <scaffold> ''(Model-Glue 3.0+ only)'' 
     220 
     221== <module> == 
     222 
     223Introduces a set of external definitions into the current Model-Glue XML file. This tag works similarly to the <include> tag, except that all <module> tags are processed before <include> tags. 
     224 
     225This tag is intended for the loading of actionpacks in Model-Glue 3. 
     226 
     227==== Attributes ==== 
     228 
     229  1. Type (Optional) - The type of module to load. Currently the only supported type is "XML". 
     230  1. Template (Required for XML modules) - The path to the XML file to include. 
     231 
     232==== Child Tags ==== 
     233 
     234None 
    217235 
    218236== <result> == 
     
    249267Automatically defines and creates user interface for listing and editing data from a database table. By default, creates ''object''.list, ''object''.view, ''object''.edit, ''object''.commit, and ''object''.delete event-handlers, where ''object'' is the value of the OBJECT attribute. This list of event-handlers to create is controlled by the TYPE attribute. 
    250268 
     269''In Model-Glue 2, only <scaffold> tags that are children of the <event-handlers> tag are processed. In Model-Glue 3, all <scaffold> tags are processed regardless of where they appear in the XML file.'' 
     270 
    251271==== Attributes ==== 
    252272 
     
    266286Used in Model-Glue XML fragments to define additional settings and by legacy Model-Glue 1.x applications to define settings. 
    267287 
    268 This tag is largely unused in Model-Glue 2.0+! 
     288''This tag was largely unused in Model-Glue 2, but may be used in Model-Glue 3 to define actionpacks.'' 
    269289 
    270290==== Special Behavior ==== 
     
    299319None 
    300320 
     321== <view> == 
     322 
     323Defines a .CFM template to <cfinclude>, creating HTML that will be viewable by the user. 
     324 
     325This tag is synonymous with <include>. See <include> (child tag of <views>) for more information. 
     326 
    301327== <views> == 
    302328