Hi uDiggers,
I have a strange behavior when a Filter is applied onto a Layer : I can
not modify datas, edit tools are deactivated and the Table view is in
read-only mode.
However, if I did not add apply any filter to the layer, editing
capabilities are enabled. Is this a limitation ? Should I better filter
datas on server side ?
For your information, I am working on the trunk version of uDig and
creating layers and associated filter programmatically. Datas are
retrieved from an Oracle database.
Here is the snippet of code I am using to add a filter to the layer :
my_layer.getStyleBlackboard().put(ProjectBlackboardConstants.LAYER__DATA_QUERY,
my_filter);
Regards,
Jacques
--
|
Jacques LESCOT
Project Manager
Eclipse Technical Expert
jacques.lescot@xxxxxxxxxxxxxxxx
Standard : +33(0)5 61 00 52 90
Direct : +33(0)5 61 00 06 60
Mobile : +33(0)6 74 49 23 34
Fax : +33(0)5 61 00 51 46 |
Anyware Technologies
Lake Park
ZAC de l'Hers - Allée du Lac
BP 87216
31672 Labège Cedex
France
www.anyware-tech.com
|
|
This message and any attachments (the "Message") are confidential and
intended solely for the addressees.
Any unauthorized modification, edition, use or dissemination is
prohibited.
Neither Anyware Technologies nor its headquarters Wavecom shall be
liable for the Message if altered, changed, falsified or edited,
diffused without authorization.
|