mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-12 23:30:59 +00:00
adjusted service registration to the introduction of the EntryPointHelper
This commit is contained in:
1 parent
6f1979b756
commit
95214bfe08
1 file changed
+2
-1
+2
-1
@@ -19,6 +19,7 @@ import com.sap.sailing.gwt.ui.client.SailingService;
|
||||
import com.sap.sailing.gwt.ui.client.SailingServiceAsync;
|
||||
import com.sap.sailing.gwt.ui.shared.LeaderboardSearchResultDTO;
|
||||
import com.sap.sse.common.search.KeywordQuery;
|
||||
import com.sap.sse.gwt.client.EntryPointHelper;
|
||||
|
||||
/**
|
||||
* Sample entry point demonstrating the search capabilites of
|
||||
@@ -34,7 +35,7 @@ public class SearchEntryPoint extends AbstractEntryPoint {
|
||||
@Override
|
||||
protected void doOnModuleLoad() {
|
||||
super.doOnModuleLoad();
|
||||
registerASyncService((ServiceDefTarget) sailingService, RemoteServiceMappingConstants.sailingServiceRemotePath);
|
||||
EntryPointHelper.registerASyncService((ServiceDefTarget) sailingService, RemoteServiceMappingConstants.sailingServiceRemotePath);
|
||||
VerticalPanel searchAndResults = new VerticalPanel();
|
||||
searchAndResults.setSize("100%", "30em");
|
||||
RootPanel.get().add(searchAndResults);
|
||||
|
||||
Reference in new issue
Block a user