Revision 4533 trunk/extensions/extWFS/src/com/iver/cit/gvsig/fmap/layers/FLyrWFS.java

View differences:

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
}

Also available in: Unified diff