Revision 4533

View differences:

trunk/extensions/extWFS/src/com/iver/cit/gvsig/fmap/layers/FLyrWFS.java
204 204
       XMLEntity xml=
205 205
       ///XMLEntity xml=((FLyrDefault)this).getXMLEntity();
206 206
       //XMLEntity xml=new XMLEntity();
207
    
207

  
208 208
       xml.putProperty("layerName",layerName);
209 209
       xml.putProperty("url",url);
210 210
       xml.putProperty("user",user);
......
232 232
            setTransparency(xml.getIntProperty("transparency"));
233 233
        }
234 234
       	legend=LegendFactory.createFromXML(xml.getChild(0));
235
		getRecordset().getSelectionSupport().setXMLEntity(xml.getChild(1));
235
       	try {
236
			((SelectableDataSource)getRecordset()).getSelectionSupport().setXMLEntity(xml.getChild(1));
237
		} catch (DriverException e) {
238
			// TODO Auto-generated catch block
239
			e.printStackTrace();
240
		}
236 241
        wfsDriver = WFSDriver.createWFSDriverFromXML(xml.getChild(2));
237 242

  
238 243
        /*this.layerName=xml.getStringProperty("layerName");
......
299 304
			// TODO Auto-generated catch block
300 305
			e.printStackTrace();
301 306
		}
302
        
307

  
303 308
    }
304 309
}
trunk/extensions/extWFS/.project
1 1
<?xml version="1.0" encoding="UTF-8"?>
2 2
<projectDescription>
3
	<name>gvSIG_WFS</name>
3
	<name>extWFS</name>
4 4
	<comment></comment>
5 5
	<projects>
6 6
	</projects>
......
10 10
			<arguments>
11 11
			</arguments>
12 12
		</buildCommand>
13
		<buildCommand>
14
			<name>de.loskutov.FileSync.FSBuilder</name>
15
			<arguments>
16
			</arguments>
17
		</buildCommand>
13 18
	</buildSpec>
14 19
	<natures>
15 20
		<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>

Also available in: Unified diff