<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Courier New" size="2">
<div>I am trying to use a GeoExt.data.attribute store to populate the data field of an ext.form.combobox. I have tried to debug using firebird etc to see stuff inside neighbourhood_name_store below but it doesn't seem to be working properly. When I actually
copy the request URL it performs the request correctly and I am trying to put the data field as the attribute from the request which is like- </div>
<div>&nbsp;</div>
<div>- &lt;xs:complexType name=&quot;NeighbourhoodsType&quot;&gt;</div>
<div>- &lt;xs:complexContent&gt;</div>
<div>- &lt;xs:extension base=&quot;gmgml:NeighbourhoodsSubType&quot;&gt;</div>
<div>- &lt;xs:sequence&gt;</div>
<div>&nbsp; &lt;xs:element name=&quot;NEIGHBOURHOODID&quot; type=&quot;xs:int&quot; /&gt; </div>
<div>&nbsp; &lt;xs:element name=&quot;NEIGHBOURHOOD_NAME&quot; type=&quot;gmgml:Neighbourhoods_NEIGHBOURHOOD_NAMEType&quot; minOccurs=&quot;0&quot; /&gt; </div>
<div>&nbsp; &lt;xs:element name=&quot;LABEL_LINE1&quot; type=&quot;gmgml:Neighbourhoods_LABEL_LINE1Type&quot; minOccurs=&quot;0&quot; /&gt; </div>
<div>&nbsp; &lt;xs:element name=&quot;LABEL_LINE2&quot; type=&quot;gmgml:Neighbourhoods_LABEL_LINE2Type&quot; minOccurs=&quot;0&quot; /&gt; </div>
<div>&nbsp; &lt;xs:element name=&quot;LABEL_LINE3&quot; type=&quot;gmgml:Neighbourhoods_LABEL_LINE3Type&quot; minOccurs=&quot;0&quot; /&gt; </div>
<div>&nbsp; &lt;xs:element name=&quot;YearBuilt&quot; type=&quot;gmgml:Neighbourhoods_YearBuiltType&quot; minOccurs=&quot;0&quot; /&gt; </div>
<div>&nbsp; &lt;xs:element name=&quot;Geometry&quot; type=&quot;gmgml:Polygon_Surface_MultiSurface_CompositeSurfacePropertyType&quot; minOccurs=&quot;0&quot; /&gt; </div>
<div>&nbsp; &lt;/xs:sequence&gt;</div>
<div>&nbsp; &lt;/xs:extension&gt;</div>
<div>&nbsp; &lt;/xs:complexContent&gt;</div>
<div>&nbsp; &lt;/xs:complexType&gt; </div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>Not sure why but it doesn't seem to be working, appreciate any assistance.</div>
<div>&nbsp;</div>
<div><font color="#0000FF">var<font color="#000000"> neighbourhood_name_store = </font>new<font color="#000000"> GeoExt.data.AttributeStore({</font></font></div>
<div>&nbsp;&nbsp;&nbsp; url: <font color="#A31515">&quot;</font><a href="http://localhost/RedWFS/request.aspx?REQUEST=describeFeatureType&amp;SERVICE=WFS&amp;version=1.1.0&amp;typename=Neighbourhoods"><font color="#0000FF"><u>http://localhost/RedWFS/request.aspx?REQUEST=describeFeatureType&amp;SERVICE=WFS&amp;version=1.1.0&amp;typename=Neighbourhoods</u></font></a><font color="#A31515">&quot;</font></div>
<div>&nbsp;&nbsp;&nbsp; });</div>
<div>&nbsp;</div>
<div>&nbsp;&nbsp;&nbsp; neighbourhood_name_store.load();</div>
<div>&nbsp;</div>
<div>&nbsp;&nbsp;&nbsp; alert(neighbourhood_name_store.feature);</div>
<div>&nbsp;</div>
<div>&nbsp; <font color="#008000">//Type dropdown </font></div>
<div> <font color="#0000FF">var</font> neighbourhoodCombo = <font color="#0000FF">new</font> Ext.form.ComboBox({ </div>
<div>&nbsp;&nbsp;&nbsp;&nbsp; fieldLabel: <font color="#A31515">'Neighbourhood Name'</font>,</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp; boxMaxWidth: 159,</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp; name: <font color="#A31515">'neighbourhood_Name'</font>,</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp; hiddenName: <font color="#A31515">'NEIGHBOURHOOD_NAME'</font>,</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp; forceSelection: <font color="#0000FF">true</font>,</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp; store:neighbourhood_name_store,</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp; valueField: <font color="#A31515">'NEIGHBOURHOOD_NAME'</font>,</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp; emptyText: <font color="#A31515">&quot;NEIGHBOURHOOD_NAME&quot;</font>,</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp; displayField: <font color="#A31515">&quot;NEIGHBOURHOOD_NAME&quot;</font>,</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp; selectOnFocus: <font color="#0000FF">true</font></div>
<div>&nbsp;&nbsp;&nbsp;&nbsp; });</div>
<div>&nbsp;</div>
<div><font color="#000080"><br>

</font></div>
<div>&nbsp;</div>
<div><font face="Arial, sans-serif">&nbsp;</font></div>
</font>

<DIV><P><HR>
This e-mail is intended for the original recipient(s) only. If you have received it in error, please advise the sender and delete this message.
</P></DIV>
</body>
</html>