Changeset 1942 for trunk/UPGRADE
- Timestamp:
- 05/13/2007 09:46:36 PM (19 months ago)
- Files:
-
- 1 modified
-
trunk/UPGRADE (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/UPGRADE
r1902 r1942 12 12 Upgrading from v3.1b 13 13 -------------------- 14 - When TDataList.RepeatLayout is 'Raw', no <span> tags will be generated15 for header, footer and items. If your existing code rely on the span tags,16 you may use 'Flow' layout and set RepeatColumns as 1.17 18 14 - Comment tag <!-- ... ---> (introduced in v3.1a) is changed to <!--- ... ---> 19 15 - When TDataList.RepeatLayout is Raw, the items will render <div> instead of <span> 20 21 16 - TActiveRecord finder methods will always return a new object instance (identity mapping was removed). 22 17 - TActiveRecord::findBySql() will return an object rather than an array … … 27 22 - The signature of TActiveRecord::finder() is changed. This affects 28 23 all TActiveRecord-descendant classes that override this method. 29 Please use the following code to override the method: 24 Please use the following code to override the method: 30 25 public static function finder($className=__CLASS__) 31 26 { … … 34 29 35 30 - The way to specify the table name for an active record class is changed. 36 Previously, it used the static class member '_tablename'. 31 Previously, it used the static class member '_tablename'. 37 32 Now it uses class constant as follows: 38 33 class UserRecord extends TActiveRecord … … 41 36 } 42 37 43 - Changed TActiveRatingList's javascript control class 38 - Changed TActiveRatingList's javascript control class 44 39 name from "Prado.WebUI.TRatingList" to "Prado.WebUI.TActiveRatingList". 45 40 … … 51 46 Upgrading from v3.0.x 52 47 --------------------- 53 - Validators ClientSide.OnSuccess becomes ClientSide.OnValidationSuccess, 54 - Validators ClientSide.OnError becomes ClientSide.OnValidationError, 55 - Validator OnSuccess event becomes OnValidationSuccess. 56 - Validator OnError event becomes OnValidationError. 48 - Validators ClientSide.OnSuccess becomes ClientSide.OnValidationSuccess, 49 - Validators ClientSide.OnError becomes ClientSide.OnValidationError, 50 - Validator OnSuccess event becomes OnValidationSuccess. 51 - Validator OnError event becomes OnValidationError. 57 52 - Content enclosed in <!-- --> is now parsed as normal template content. 58 53 Previously, it was not parsed and was rendered as is. … … 73 68 - If TUrlMapping is used, you need to set the UrlManager property of 74 69 THttpRequest to the module ID of TUrlMapping. 75 - TJavascriptLogger toggle key is changed from ALT-D to ALT-J. 70 - TJavascriptLogger toggle key is changed from ALT-D to ALT-J. 76 71 Use the ToggleKey property chanage to a different key. 77 72 - Javascript Library rico was REMOVED. … … 87 82 Upgrading from v3.0.3 88 83 --------------------- 89 - The 'Static' value is changed to 'Fixed' for the Display property of 84 - The 'Static' value is changed to 'Fixed' for the Display property of 90 85 all validators as well as TValidationSummary, due to conflict with PHP keywords. 91 86 - The 'List' value is changed to 'SimpleList' for TValidationSummary.DisplayMode.
