Changes between Version 5 and Version 6 of UpgradingModelGlue/UpgradingFromModelGlue2

Show
Ignore:
Timestamp:
06/22/10 17:24:26 (16 years ago)
Author:
boomfish (IP: 208.61.250.70)
Comment:

Fixed the info about forward() and preserveState (which was documented backwards)

Legend:

Unmodified
Added
Removed
Modified
  • UpgradingModelGlue/UpgradingFromModelGlue2

    v5 v6  
    13133. The names of the arguments of the '''forward()''' method in !EventContext.cfc have changed. The order of the arguments remain the same, so changing your '''forward()''' calls using from named arguments to ordered arguments resolves this issue. 
    1414 
    15 4. The '''forward()''' method in !EventContext.cfc preserves the state by default in Model-Glue 3. The default in Model-Glue 2 was for forwards to ''not'' preserve the event state. To have a forward not preserve the event state in Model-Glue 3, set the third argument to false. If you are not already passing a second argument, you can set it to "" (the default). 
     154. The '''forward()''' method in !EventContext.cfc does ''not'' preserve the state by default in Model-Glue 3. The default in Model-Glue 2 was for '''forward()''' calls to preserve the event state. To have a forward preserve the event state in Model-Glue 3, set the third argument to true. If you are not already passing a second argument, you can set it to "" (the default).