[Users] Problem with FeatureStore.getRecordFromFeature()

Adam Ratcliffe adam at prema.co.nz
Sat May 22 23:53:13 CEST 2010


So looks like the transition of the phantom records to first class records will only happen automatically if the feature data is saved through the store interface.  If using the OL save strategy, like I am, this will need to be done manually.

Cheers
Adam

On 22/05/2010, at 7:01 PM, Eric Lemoine wrote:

> On Friday, May 21, 2010, Adam Ratcliffe <adam at prema.co.nz> wrote:
>> Hi Eric,
>> 
>> Thanks for that.  BTW what is the reason for creating the 'phantom' record in the store?
>> 
>> At the point at which it's created in FeatureReader.readRecords() it already has an OpenLayers ID, could that not be used as it is when the feature is not in an INSERT state?
> 
> See <http://trac.geoext.org/ticket/137>.
> 
> 
> 
> -- 
> Eric Lemoine
> 
> Camptocamp France SAS
> Savoie Technolac, BP 352
> 73377 Le Bourget du Lac, Cedex
> 
> Tel : 00 33 4 79 44 44 96
> Mail : eric.lemoine at camptocamp.com
> http://www.camptocamp.com



More information about the Users mailing list