<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> </div>
<div>- <xs:complexType name="NeighbourhoodsType"></div>
<div>- <xs:complexContent></div>
<div>- <xs:extension base="gmgml:NeighbourhoodsSubType"></div>
<div>- <xs:sequence></div>
<div> <xs:element name="NEIGHBOURHOODID" type="xs:int" /> </div>
<div> <xs:element name="NEIGHBOURHOOD_NAME" type="gmgml:Neighbourhoods_NEIGHBOURHOOD_NAMEType" minOccurs="0" /> </div>
<div> <xs:element name="LABEL_LINE1" type="gmgml:Neighbourhoods_LABEL_LINE1Type" minOccurs="0" /> </div>
<div> <xs:element name="LABEL_LINE2" type="gmgml:Neighbourhoods_LABEL_LINE2Type" minOccurs="0" /> </div>
<div> <xs:element name="LABEL_LINE3" type="gmgml:Neighbourhoods_LABEL_LINE3Type" minOccurs="0" /> </div>
<div> <xs:element name="YearBuilt" type="gmgml:Neighbourhoods_YearBuiltType" minOccurs="0" /> </div>
<div> <xs:element name="Geometry" type="gmgml:Polygon_Surface_MultiSurface_CompositeSurfacePropertyType" minOccurs="0" /> </div>
<div> </xs:sequence></div>
<div> </xs:extension></div>
<div> </xs:complexContent></div>
<div> </xs:complexType> </div>
<div> </div>
<div> </div>
<div>Not sure why but it doesn't seem to be working, appreciate any assistance.</div>
<div> </div>
<div><font color="#0000FF">var<font color="#000000"> neighbourhood_name_store = </font>new<font color="#000000"> GeoExt.data.AttributeStore({</font></font></div>
<div> url: <font color="#A31515">"</font><a href="http://localhost/RedWFS/request.aspx?REQUEST=describeFeatureType&SERVICE=WFS&version=1.1.0&typename=Neighbourhoods"><font color="#0000FF"><u>http://localhost/RedWFS/request.aspx?REQUEST=describeFeatureType&SERVICE=WFS&version=1.1.0&typename=Neighbourhoods</u></font></a><font color="#A31515">"</font></div>
<div> });</div>
<div> </div>
<div> neighbourhood_name_store.load();</div>
<div> </div>
<div> alert(neighbourhood_name_store.feature);</div>
<div> </div>
<div> <font color="#008000">//Type dropdown </font></div>
<div> <font color="#0000FF">var</font> neighbourhoodCombo = <font color="#0000FF">new</font> Ext.form.ComboBox({ </div>
<div> fieldLabel: <font color="#A31515">'Neighbourhood Name'</font>,</div>
<div> boxMaxWidth: 159,</div>
<div> name: <font color="#A31515">'neighbourhood_Name'</font>,</div>
<div> hiddenName: <font color="#A31515">'NEIGHBOURHOOD_NAME'</font>,</div>
<div> forceSelection: <font color="#0000FF">true</font>,</div>
<div> store:neighbourhood_name_store,</div>
<div> valueField: <font color="#A31515">'NEIGHBOURHOOD_NAME'</font>,</div>
<div> emptyText: <font color="#A31515">"NEIGHBOURHOOD_NAME"</font>,</div>
<div> displayField: <font color="#A31515">"NEIGHBOURHOOD_NAME"</font>,</div>
<div> selectOnFocus: <font color="#0000FF">true</font></div>
<div> });</div>
<div> </div>
<div><font color="#000080"><br>
</font></div>
<div> </div>
<div><font face="Arial, sans-serif"> </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>