Changes between Version 5 and Version 6 of UpgradingModelGlue/UpgradingFromModelGlue2
- Timestamp:
- 06/22/10 17:24:26 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UpgradingModelGlue/UpgradingFromModelGlue2
v5 v6 13 13 3. 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. 14 14 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).15 4. 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).
![(please configure the [header_logo] section in trac.ini)](/ModelGlue.com/trac.cgi/chrome/site/your_project_logo.png)