Changeset 1942 for trunk/UPGRADE

Show
Ignore:
Timestamp:
05/13/2007 09:46:36 PM (19 months ago)
Author:
xue
Message:

update for release.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/UPGRADE

    r1902 r1942  
    1212Upgrading from v3.1b 
    1313-------------------- 
    14 - When TDataList.RepeatLayout is 'Raw', no <span> tags will be generated 
    15   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  
    1814- Comment tag <!-- ... ---> (introduced in v3.1a) is changed to <!--- ... ---> 
    1915- When TDataList.RepeatLayout is Raw, the items will render <div> instead of <span> 
    20  
    2116- TActiveRecord finder methods will always return a new object instance (identity mapping was removed). 
    2217- TActiveRecord::findBySql() will return an object rather than an array 
     
    2722- The signature of TActiveRecord::finder() is changed. This affects 
    2823  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: 
    3025        public static function finder($className=__CLASS__) 
    3126        { 
     
    3429 
    3530- 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'. 
    3732  Now it uses class constant as follows: 
    3833    class UserRecord extends TActiveRecord 
     
    4136    } 
    4237 
    43 - Changed TActiveRatingList's javascript control class  
     38- Changed TActiveRatingList's javascript control class 
    4439  name from "Prado.WebUI.TRatingList" to "Prado.WebUI.TActiveRatingList". 
    4540 
     
    5146Upgrading from v3.0.x 
    5247--------------------- 
    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. 
    5752- Content enclosed in <!-- --> is now parsed as normal template content. 
    5853  Previously, it was not parsed and was rendered as is. 
     
    7368- If TUrlMapping is used, you need to set the UrlManager property of 
    7469  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. 
    7671   Use the ToggleKey property chanage to a different key. 
    7772- Javascript Library rico was REMOVED. 
     
    8782Upgrading from v3.0.3 
    8883--------------------- 
    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 
    9085  all validators as well as TValidationSummary, due to conflict with PHP keywords. 
    9186- The 'List' value is changed to 'SimpleList' for TValidationSummary.DisplayMode.