v1.0 Testing

Page 1 of 8 123 ... LastLast
  1. #1

    v1.0 Testing

    We need a few experienced Coolite Toolkit developers to provide some feedback with the new v1.0 build.

    If any Premium Members would like access to the v1.0 preview, please email me (geoff@object.net) with your community forum username.


    The email subject must be "V1.0 Preview Access". I have a email filter set up to catch the requests based on that specific subject.


    EDIT: The v1.0 build is available to all Premium Members by SVN updating from /branches/ instead of /trunk.




    Geoffrey McGill
    Founder
  2. #2

    RE: v1.0 Testing

    Sent email. What kind of things do you want us to focus on? Any specific control or functionality? Or just pop new dlls into our current application and see what breaks?
  3. #3

    RE: v1.0 Testing

    Lots will break, make sure you check the changes log as things have been refactored.

    Cheers,
    Timothy
  4. #4

    RE: v1.0 Testing

    Hi,

    There is changelog file, see


    Ext.Net\Build\Resources\Ext.Net\CHANGELOG.txt
  5. #5

    RE: v1.0 Testing

    A lot has changed. I'm still in the process of refactoring our branch with v1.0.

    I do have a quick question though.

    I noticed that all the layouts that you must define the collections instead of having a default collections.

    I noticed that FitLayout also have this Items collection. If I remember right, FitLayout will only work with one item.

    If this is still true, couldn't we do something with a panel like is being done with ColumnLayout with FitHeight? Have a Panel attribute that does the same thing, thus eliminating the FitLayout control?

    Example (way we do it now):

    <ext:Panel>
        <Content>
            <ext:FitLayout>
                <Items>
                    <ext:Panel />
                </Items>
            </ext:FitLayout>
        </Content>
    </ext:Panel>
    Idea way"

    <ext:Panel FitLayout="true"> // or whatever attibute name would be
        <Content>
        </Content>
    </ext:Panel>
    Just a thought... unless there is something that already does this?

    Thanks.

  6. #6

    RE: v1.0 Testing

    We did a lot of refactoring work with the Layout components to speed up rendering and provide a simplified alternative syntax for configuration.

    All Container type Components include a new .Layout property. Using the Panel sample provided above, we can now tighten things up by setting the .Layout property to "Fit". No inner Layout control is required.

    Example

    <ext:Panel Title="Outer Panel" Layout="Fit">
        <Items>
            <ext:Panel Title="Inner Panel" />
        </Items>
    </ext:Panel>
    Most of the samples in the v1.0 Examples Explorer have been updated to use the new .Layout property.

    Using the .Layout property is not required, although does simplify your code. You can continue to use the nested Layout controls as before, although as noted in the CHANGELOG.txt, the <Body> inner property has changed to <Content>, and the Layout Collection property is now required.

    The Layout Collection property was "sort of" required previously, just we did not have the property configured to ensure the asp.net runtime parser to enforce the requirement. Now it's required.

    Hope this helps.

    Geoffrey McGill
    Founder
  7. #7

    RE: v1.0 Testing

    I've received feedback from several Premium Members who upgraded their projects successfully. Appears the upgrade process went well and any breaking changes were resolved with relatively simple search-and-replace routines.

    If any other Premium Members would like to take a crack at upgrading their projects to v1.0, I'd appreciate the feedback. Please send me an email as per the instructions in the original post.


    Geoffrey McGill
    Founder
  8. #8

    RE: v1.0 Testing

    Well, everything was going smoothly with the small snippets of code that I converted.

    However, when I added Ext.Net into our large application. I refactored what needed to be done and added the necessary entries into the web.config (or changed the old ones).


    However, whenever I run our application no ExtJS objects appear in the page and I'm getting no Javascript errors. When I do a "View Source," it looks like all the Ext.Net javascript has been rendered and it looks to be correct, but the ExtJS objects aren't rendering on screen.


    Am I missing something?


  9. #9

    RE: v1.0 Testing

    Excuse my short-sightedness.

    I should clarify that running it in IE is throwing no Javascript errors, but running the application through Firebug in Firefox, I get the following Javascript errors:


    The stylesheet "<long path>/ext.axd%3d25087&amp;v=25087 was no loaded because its MIME type , "text/html", is "text/css."
    Ext.net is undefined.
    Ext.net is undefined.


    Thanks.


  10. #10

    RE: v1.0 Testing

    Alright, found the issue for the errors, but still having a problem with FormPanel and Anchors rendering correctly.

    Anyway, we use a Form Auth setup for our web application. Allowing access to the "extnet" extension for anonymous users and also the "ux" extension allowed for these things to render correctly (this was a security issue).

    In pre-1.0, we only had to allow access to "coolite." Now in this version we have to give access to both "extnet" and "ux."

    It looks like this in the webconfig:

    <location path="extnet">
        <system.web>
            <authorization>
                <allow users="*" />
            </authorization>
        </system.web>
    </location>
    <location path="ux">
        <system.web>
            <authorization>
                <allow users="*" />
            </authorization>
        </system.web>
    </location>
    <location path="icons">
        <system.web>
            <authorization>
                <allow users="*" />
            </authorization>
        </system.web>
    </location>
    That problem is solved.

    A new problem is that we have a Window rendering correctly, however the FormPanel within the window isn't rendering (and all associated FormLayout Anchors aren't rendering either).

    Example:

    <ext:Window ID="wLogin" runat="server" Title="eSuite Login" Icon="User" Width="315" Modal="true" AutoHeight="true" Center&#111;nload="true" Closable="false" Draggable="false" IDMode="Static">
        <Content>
            <ext:Panel runat="server" Border="false">                    
                <Content>
                    <ext:Panel runat="server" Border="false" BodyStyle="padding:12px 8px 12px 8px;border-bottom:solid 1px black">
                        <Content>
                            <img src="/images/logos/Login.gif" alt="" border="0" />
                        </Content>
                    </ext:Panel>
                    <ext:FormPanel ID="fpLogin" runat="server" LabelWidth="75" Border="false" BodyStyle="padding:10px;padding-top:16px;" ButtonAlign="Right">                            
                        <Items>
                            <ext:FormLayout runat="server">
                                <Anchors>
                                    <ext:Anchor Horizontal="100%">
                                        <ext:TextField ID="tUsername" runat="server" FieldLabel="Username" AllowBlank="false" BlankText="Username is a required field." MaxLength="20" MaxLengthText="20" IDMode="Static" TabIndex="0" />
                                    </ext:Anchor>
                                    <ext:Anchor Horizontal="100%">
                                        <ext:TextField ID="tPassword" runat="server" FieldLabel="Password" AllowBlank="false" BlankText="Password is a required field." InputType="Password" MaxLength="50" MaxLengthText="50" IDMode="Static" />
                                    </ext:Anchor>
                                    <ext:Anchor Horizontal="100%">
                                        <ext:Panel runat="server" Border="false" BodyStyle="text-align:center;font-size:10px;padding-top:5px" Hidden="true">
                                            <Content>
                                                <ext:HyperLink ID="lForgetPass" runat="server" Text="Forget your Password?" />
                                            </Content>
                                        </ext:Panel>
                                    </ext:Anchor>
                                </Anchors>
                            </ext:FormLayout>
                        </Items>
                        <Buttons>
                            <ext:Button ID="bLogin" runat="server" Text="Login!" Icon="DoorIn">
                                <Listeners>
                                    <Click Handler="LoginManager.login();" />
                                </Listeners>
                            </ext:Button>
                        </Buttons>
                    </ext:FormPanel>
                </Content>
                <BottomBar>
                    <ext:StatusBar ID="sbStatus" runat="server" CtCls="icon-error" DefaultText="Please login to your eSuite account." />
                </BottomBar>
            </ext:Panel>                    
        </Content>
        <Listeners>
            <Show Handler="#{tUsername}.focus(false, 60);" />
        </Listeners>                
    </ext:Window>
    Thanks.

Page 1 of 8 123 ... LastLast

Similar Threads

  1. [CLOSED] Tools for Unit testing
    By marcossoft in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Sep 07, 2012, 5:46 AM
  2. [CLOSED] EXT.NET GUI testing tools?
    By agonzalez in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jul 27, 2012, 8:56 AM
  3. Web Performance Testing Question
    By Vitaly2030 in forum 1.x Help
    Replies: 5
    Last Post: Mar 27, 2012, 9:47 PM
  4. [CLOSED] Automated Testing
    By SymSure in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: May 20, 2011, 7:56 PM
  5. [CLOSED] Unit testing (with NUnit)
    By pil0t in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Jun 18, 2010, 12:54 PM

Posting Permissions