comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java @ 1310:c4c957a9c092

Improved exception handling while fetching theme styles. flys-client/trunk@2944 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 12 Oct 2011 09:34:38 +0000
parents a95e82d6bcc1
children 8a93fb299e64
comparison
equal deleted inserted replaced
1309:a95e82d6bcc1 1310:c4c957a9c092
533 artifact, 533 artifact,
534 url, 534 url,
535 locale, 535 locale,
536 new AsyncCallback<CollectionItemAttribute>() { 536 new AsyncCallback<CollectionItemAttribute>() {
537 public void onFailure (Throwable caught) { 537 public void onFailure (Throwable caught) {
538 GWT.log("Could not get Collection item attributes."); 538 SC.warn(MSG.getString(caught.getMessage()));
539 } 539 }
540 public void onSuccess(CollectionItemAttribute cia) { 540 public void onSuccess(CollectionItemAttribute cia) {
541 GWT.log("Successfully loaded collectionitem attributes."); 541 GWT.log("Successfully loaded collectionitem attributes.");
542 StyleEditorWindow win = new StyleEditorWindow( 542 StyleEditorWindow win = new StyleEditorWindow(
543 collection, 543 collection,

http://dive4elements.wald.intevation.org