}
public void initialise(HttpServletRequest request, Resource resource, boolean editing, MultiSelectSelectionModel policyModel,
PropertyList selectedPolicies, User owner, boolean assignOnly) throws Exception {
super.initialise(request, resource, editing, policyModel, selectedPolicies, owner, assignOnly);
NetworkPlace networkPlace = (NetworkPlace) resource;
provider = VFSProviderManager.getInstance().getProvider(networkPlace.getScheme());
if (provider == null) {
networkPlace = NetworkPlaceUtil.createNetworkPlaceForPath(networkPlace.getPath());
provider = VFSProviderManager.getInstance().getProvider(networkPlace.getScheme());
}
this.scheme = networkPlace.getScheme();
this.host = networkPlace.getHost();
this.path = networkPlace.getPath();
this.port = networkPlace.getPort();
this.username = networkPlace.getUsername();
this.password = networkPlace.getPassword();
this.queryString = "";
this.networkPlaceReadOnly = networkPlace.isReadOnly();
this.showHidden = networkPlace.isShowHidden();
this.allowRecursive = networkPlace.isAllowRecursive();
this.noDelete = networkPlace.isNoDelete();
this.autoStart = networkPlace.isAutoStart();
}