<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18928">
<STYLE></STYLE>
</HEAD>
<BODY style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 15px"
id=MailContainerBody leftMargin=0 topMargin=0 bgColor=#ffffff
name="Compose message area" CanvasTabStop="true">
<DIV><FONT size=2>hello Matt</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>thank you for the answer, </FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>I found the problem, the json returned by the server was not
100% geojson valid (though it was json valid). I dont know exactly which part of
the FeatureStore / FeatureReader is supposed parse the response code but I would
have expected at least an error like "server answer is not geojson and can
not be read" or something, silent failing are difficult to debug.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>also, it seems the OpenLayers.Protocol.HTTP used in the
GeoExt.data.ProtocolProxy automaticaly use an ogcproxy crossdomain
request if the url used is a full url and not a relative url, even if the
domaine is the same, which surprised me a bit.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>but I succeded to have everything working</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>best regards</FONT></DIV>
<DIV><FONT size=2>Oliver</FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=mpriour@kestrelcomputer.com
href="mailto:mpriour@kestrelcomputer.com">Matt Priour</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=oliver.christen@camptocamp.com
href="mailto:oliver.christen@camptocamp.com">Oliver Christen</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, July 16, 2010 4:54 PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Users] example of
FeatureStore / FeatureReader</DIV>
<DIV><BR></DIV>
<DIV><FONT size=2 face=Arial>You need to include a fields parameter to the
Feature Store that reflects the attributes of interest on your features.
Without this parameter, the attribute you are interested in filtering on is
buried as a property of a property of a data record and can not easily be
used.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Also, including a small bit of relevant code
would allow others to help you much more effectively.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>The GeoExt examples page has several examples of
using FeatureStores. Go through them and look at the source. You can learn a
lot from those examples.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Matt Priour</FONT></DIV>
<DIV><FONT size=2 face=Arial>Kestrel Computer Consulting</FONT></DIV>
<DIV style="FONT: 10pt Tahoma">
<DIV><BR></DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A
title=oliver.christen@camptocamp.com
href="mailto:oliver.christen@camptocamp.com">Oliver Christen</A> </DIV>
<DIV><B>Sent:</B> Friday, July 16, 2010 8:54 AM</DIV>
<DIV><B>To:</B> <A title=users@geoext.org
href="mailto:users@geoext.org">users@geoext.org</A> </DIV>
<DIV><B>Subject:</B> [Users] example of FeatureStore /
FeatureReader</DIV></DIV></DIV>
<DIV><BR></DIV>hello<BR><BR>im trying to implement a simple combobox using a
geoext FeatureStore / FeatureReader<BR>the query is done correctly and I see
valid geojson being returned, but I cant seem to be able to have the data
parsed and ultimately displayed in the combobox result list.<BR><BR>anyone has
a simple example of FeatureStore / FeatureReader usage with a combobox
?<BR><BR>thanks in advance<BR>Oliver<BR>
<P>
<HR>
<P></P>_______________________________________________<BR>Users mailing
list<BR>Users@geoext.org<BR>http://www.geoext.org/cgi-bin/mailman/listinfo/users<BR></BLOCKQUOTE></BODY></HTML>