comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/ParameterList.java @ 803:653ae84533e7

Read/create recommended Artifacts and add them to the current Collection. flys-client/trunk@2350 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 18 Jul 2011 09:52:16 +0000
parents 3fa8583434b2
children 6f65e70fa11d
comparison
equal deleted inserted replaced
802:d45ad7fd3027 803:653ae84533e7
349 final String locale = config.getLocale(); 349 final String locale = config.getLocale();
350 350
351 final Data[] feedData = new Data[] { data[1] }; 351 final Data[] feedData = new Data[] { data[1] };
352 352
353 artifactService.create( 353 artifactService.create(
354 url, locale, module.toLowerCase(), 354 url, locale, module.toLowerCase(), null,
355 new AsyncCallback<Artifact>() { 355 new AsyncCallback<Artifact>() {
356 public void onFailure(Throwable caught) { 356 public void onFailure(Throwable caught) {
357 GWT.log("Could not create the new artifact."); 357 GWT.log("Could not create the new artifact.");
358 SC.warn(MSG.getString(caught.getMessage())); 358 SC.warn(MSG.getString(caught.getMessage()));
359 } 359 }

http://dive4elements.wald.intevation.org