<html>
    <head>
        <title>GeoExt WFS Capabilities Example</title>
        <link rel="stylesheet" type="text/css" href="http://cdn.sencha.io/ext-4.1.0-gpl/resources/css/ext-all.css" />
        <link rel="stylesheet" type="text/css" href="http://cdn.sencha.io/ext-4.1.0-gpl/examples/shared/example.css" />
        <script type="text/javascript" charset="utf-8" src="http://cdn.sencha.io/ext-4.1.0-gpl/ext-dev.js"></script>

        <!-- You should definitely consider using a custom single-file version of OpenLayers -->
        <script src="http://openlayers.org/api/2.12-rc3/OpenLayers.js"></script>

        <script type="text/javascript" src="../loader.js"></script>
        
        <script type="text/javascript" src="wfscapabilities.js"></script>

    </head>
    <body>
        <h1>WFS Capabilities Example</h1>

        <p>This example shows how to load a grid with data from a WFS
        capabilities document. Also shows how to have layer-specific object as
        properties of the 'layerOptions' property by using a function returning
        them.</p>

        <p>Note that the js is not minified so it is readable.
        See <a href="wfscapabilities.js">wfscapabilities.js</a>.</p>

        <div id="capgrid"></div>
    </body>
</html>

<html>
    <head>
        <title>GeoExt WFS Capabilities Example</title>
        <link rel="stylesheet" type="text/css" href="http://cdn.sencha.com/ext/gpl/4.2.1/resources/css/ext-all.css" />
        <link rel="stylesheet" type="text/css" href="http://cdn.sencha.com/ext/gpl/4.2.1/examples/shared/example.css" />
        <script type="text/javascript" charset="utf-8" src="http://cdn.sencha.com/ext/gpl/4.2.1/ext-debug.js"></script>

        <!-- You should definitely consider using a custom single-file version of OpenLayers -->
        <script src="http://openlayers.org/api/2.13/OpenLayers.js"></script>

        <script type="text/javascript" src="../loader.js"></script>
        
        <script type="text/javascript" src="wfscapabilities.js"></script>

    </head>
    <body>
        <h1>WFS Capabilities Example</h1>

        <p>This example shows how to load a grid with data from a WFS
        capabilities document. Also shows how to have layer-specific object as
        properties of the 'layerOptions' property by using a function returning
        them.</p>

        <p>Note that the js is not minified so it is readable.
        See <a href="wfscapabilities.js">wfscapabilities.js</a>.</p>

        <div id="capgrid"></div>
    </body>
</html>

Upgrade example to use Ext 4.2.1/OL 2.13
Upgrade example to use Ext 4.2.1/OL 2.13
