a6b5afc32a72f3effab33a74cf983ee6c165e3ad
java/com.sap.sailing.gwt.ui/Home.css
| ... | ... | @@ -1 +1 @@ |
| 1 | -/* Not used yet because all CssResources are comming from the design templates. */ |
|
| 1 | +/* Not used yet because all CssResources are coming from the design templates. */ |
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/home/desktop/places/events/TabletAndDesktopEventsView.java
| ... | ... | @@ -14,6 +14,7 @@ import com.sap.sailing.gwt.home.shared.places.start.StartPlace; |
| 14 | 14 | import com.sap.sailing.gwt.ui.client.StringMessages; |
| 15 | 15 | import com.sap.sse.gwt.client.breadcrumb.BreadcrumbPane; |
| 16 | 16 | import com.sap.sse.gwt.client.media.TakedownNoticeService; |
| 17 | +import com.sap.sse.gwt.resources.CommonControlsCSS; |
|
| 17 | 18 | |
| 18 | 19 | public class TabletAndDesktopEventsView extends AbstractEventsView { |
| 19 | 20 | private static EventsPageViewUiBinder uiBinder = GWT.create(EventsPageViewUiBinder.class); |
| ... | ... | @@ -33,9 +34,7 @@ public class TabletAndDesktopEventsView extends AbstractEventsView { |
| 33 | 34 | this.navigator = navigator; |
| 34 | 35 | recentEventsWidget = new EventsOverviewRecent(navigator); |
| 35 | 36 | upcomingEventsWidget = new EventsOverviewUpcoming(navigator); |
| 36 | - |
|
| 37 | 37 | initWidget(uiBinder.createAndBindUi(this)); |
| 38 | - |
|
| 39 | 38 | initBreadCrumbs(); |
| 40 | 39 | } |
| 41 | 40 | |
| ... | ... | @@ -57,6 +56,12 @@ public class TabletAndDesktopEventsView extends AbstractEventsView { |
| 57 | 56 | }); |
| 58 | 57 | } |
| 59 | 58 | |
| 59 | + @Override |
|
| 60 | + protected void onLoad() { |
|
| 61 | + super.onLoad(); |
|
| 62 | + CommonControlsCSS.ensureInjected(); |
|
| 63 | + } |
|
| 64 | + |
|
| 60 | 65 | @Override |
| 61 | 66 | protected void updateEventsUI(TakedownNoticeService takedownNoticeService) { |
| 62 | 67 | recentEventsWidget.updateEvents(eventListView.getRecentEvents(), takedownNoticeService); |
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/home/mobile/MobileEntryPoint.java
| ... | ... | @@ -35,12 +35,9 @@ public class MobileEntryPoint extends AbstractMvpEntryPoint<StringMessages, Mobi |
| 35 | 35 | @Override |
| 36 | 36 | public void doOnModuleLoad() { |
| 37 | 37 | Document.get().getBody().addClassName(SharedResources.INSTANCE.mainCss().mobile()); |
| 38 | - |
|
| 39 | 38 | CommonControlsCSS.ensureInjected(); |
| 40 | - |
|
| 41 | 39 | ServerConfigurationServiceAsync serverConfigService = GWT.create(ServerConfigurationService.class); |
| 42 | 40 | EntryPointHelper.registerASyncService((ServiceDefTarget) serverConfigService, RemoteServiceMappingConstants.serverConfigurationServiceRemotePath); |
| 43 | - |
|
| 44 | 41 | serverConfigService.isStandaloneServer(new AsyncCallback<Boolean>() { |
| 45 | 42 | @Override |
| 46 | 43 | public void onSuccess(Boolean result) { |