Version 0.5 - BREAKING CHANGES
*NEW - Coolite Toolkit Version 0.7 now available for DOWNLOAD. See also Examples Explorer.
 

Coolite Forums

Welcome Guest ( Login | Register )
 
Version 0.5 - BREAKING CHANGES
Subscribe
Last Login: Today @ 2:24:59 PM
Posts: 1,652,
Posted 5/11/2008 11:11:46 PM

Group: Core Development Team
  1. Renamed Assembly from Coolite.Web.UI to Coolite.Ext.Web. The new main dll is now Coolite.Ext.Web.dll.

    The Page @Register statement must be updated.

    Example (Old)

    <%@ Register Assembly="Coolite.Web.UI" Namespace="Coolite.Web.UI" TagPrefix="cool" %>


    Example (New)

    <%@ Register Assembly="Coolite.Ext.Web" Namespace="Coolite.Ext.Web" TagPrefix="ext" %>


    If you added the tagPrefix to the Web.config...

    Example (Old)

    <pages>
     <controls>
      <add tagPrefix="cool" namespace="Coolite.Web.UI" assembly="Coolite.Web.UI"/>
     </controls>
    </pages>


    Example (New)

    <pages>
     <controls>
      <add tagPrefix="ext" namespace="Coolite.Ext.Web" assembly="Coolite.Ext.Web"/>
     </controls>
    </pages>

  2. Rename Toolbox extension from <cool: to <ext:

    Example (Old)

    <cool:Window runat="server" id="Window1" />


    Example (New)

    <ext:Window runat="server" id="Window1" />

  3. Renamed all "ClientEvents" properties to "Listeners".

    Example (Old)

    <cool:Window ID="Window1" runat="server">
     <ClientEvents>
      <Show Handler="Ext.emptyFn" />
     </ClientEvents>
    </ext:Window>


    Example (New)

    <ext:Window ID="Window1" runat="server">
     <Listeners>
      <Show Handler="Ext.emptyFn" />
     </Listeners>
    </ext:Window>

  4. Added convenience functionality to Listener "Hander" property so wrapping custom event handler logic with JavaScript 'function' is no longer required.

    Example

    // Old
    <Resize Handler="function(el){console.log(el.getSize());}" />

    // New
    <Resize Handler="console.log(el.getSize());" />


    By default, the .Handler property will wrap it's value with the proper 'function' syntax and pass the correct arguments for each event. Each argument is listed in the ExtJS documentation (Resize Sample) and will be available from Intellisense.
  5. Changed Window "AutoShow" property to "ShowOnLoad". The ShowOnLoad property is 'true' by default.

    To not show the Window automatically on Page load, please set the ShowOnLoad property to 'false'

    Example (Old)

    <cool:Window runat="server" id="Window1" AutoShow="true" />


    Example (New)

    <ext:Window runat="server" id="Window1" /> // Show Window on Page load
    <ext:Window runat="server" id="Window1" Showonload="False" /> // Do not show Window on Page load

  6. Changed Window "Center" property to "CenterOnLoad". The CenterOnLoad property is 'true' by default and will center the Window in the viewport on initial Page load.

    Example (Old)

    <cool:Window runat="server" id="Window1" Center="true" />


    Example (New)

    <ext:Window runat="server" id="Window1" /> // Center Window on Page load
    <ext:Window runat="server" id="Window1" Centeronload="False" /> // Do not center Window on Page load

  7. Renamed TextBox control to TextField.

    Example (Old)

    <cool:TextBox runat="server" id="TextBox1" />


    Example (New)

    <ext:TextField runat="server" id="TextField1" />

  8. Renamed DatePicker control to DateField.

    Example (Old)

    <cool: DatePicker runat="server" id="DatePicker1" />


    Example (New)

    <ext: DateField runat="server" id="DateField1" />

  9. Renamed Calendar control to DatePicker.

    Example (Old)

    <cool:Calendar runat="server" id="Calendar1" />


    Example (New)

    <ext: DatePicker runat="server" id="DatePicker1" />

  10. Renamed CheckBox control to Checkbox (<-- notice lowercase 'b').

    Example (Old)

    <cool:CheckBox runat="server" id="CheckBox1" />


    Example (New)

    <ext:Checkbox runat="server" id="Checkbox1" />

  11. Renamed HiddenField control to Hidden.

    Example (Old)

    <cool:HiddenField runat="server" id="HiddenField1" />


    Example (New)

    <ext:Hidden runat="server" id="Hidden1" />

  12. Renamed NumberTextBox control to NumberField.

    Example (Old)

    <cool:NumberTextBox runat="server" id="NumberTextBox1" />


    Example (New)

    <ext:NumberField runat="server" id="NumberField1" />
     
  13. Renamed RadioButton control to Radio.

    Example (Old)

    <cool:RadioButton runat="server" id="RadioButton1" />


    Example (New)

    <ext:Radio runat="server" id="Radio1" />
--
Geoffrey McGill
Coolite Inc.
Development Team
Coolite Examples | Coolite API Docs | ExtJS API Docs
twitter [coolite | personal]
« Prev Topic | Next Topic »
Reading This Topic
Active Users: 0 ( 0 guests, 0 members, 0 anonymous members )
No members currently viewing this topic.
All times are GMT -8:00, Time now is 2:49pm