Added TRId to UIStateEvent
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-wizard-widget@86605 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
4fd46c71ab
commit
d094bd3a74
10
pom.xml
10
pom.xml
|
@ -105,15 +105,15 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
|
||||||
<!-- tabular-data-gwt-service -->
|
|
||||||
|
|
||||||
|
<!-- tabular-data-widget-common-event -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.gcube.portlets.user</groupId>
|
<groupId>org.gcube.portlets.user</groupId>
|
||||||
<artifactId>tabular-data-gwt-service</artifactId>
|
<artifactId>tabular-data-widget-common-event</artifactId>
|
||||||
<version>[2.0.0-SNAPSHOT,3.0.0-SNAPSHOT)</version>
|
<version>1.0.0-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- LOGGING -->
|
<!-- LOGGING -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.allen-sauer.gwt.log</groupId>
|
<groupId>com.allen-sauer.gwt.log</groupId>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
*/
|
*/
|
||||||
package org.gcube.portlets.user.td.wizardwidget.client;
|
package org.gcube.portlets.user.td.wizardwidget.client;
|
||||||
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.tr.TRId;
|
import org.gcube.portlets.user.td.widgetcommonevent.shared.TRId;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -5,8 +5,8 @@ package org.gcube.portlets.user.td.wizardwidget.client;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
|
import org.gcube.portlets.user.td.widgetcommonevent.shared.TRId;
|
||||||
import org.gcube.portlets.user.td.wizardwidget.client.util.ErrorMessageBox;
|
import org.gcube.portlets.user.td.wizardwidget.client.util.ErrorMessageBox;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.tr.TRId;
|
|
||||||
|
|
||||||
import com.allen_sauer.gwt.log.client.Log;
|
import com.allen_sauer.gwt.log.client.Log;
|
||||||
import com.google.gwt.core.client.Callback;
|
import com.google.gwt.core.client.Callback;
|
||||||
|
|
|
@ -17,7 +17,8 @@
|
||||||
<!-- Other module inherits -->
|
<!-- Other module inherits -->
|
||||||
<inherits name='com.sencha.gxt.ui.GXT' />
|
<inherits name='com.sencha.gxt.ui.GXT' />
|
||||||
<inherits name="com.allen_sauer.gwt.log.gwt-log-TRACE" />
|
<inherits name="com.allen_sauer.gwt.log.gwt-log-TRACE" />
|
||||||
<inherits name='org.gcube.portlets.user.td.gwtservice.TDGWTService' />
|
|
||||||
|
<inherits name='org.gcube.portlets.user.td.widgetcommonevent.WidgetCommonEvent' />
|
||||||
|
|
||||||
<!-- Specify the app entry point class. -->
|
<!-- Specify the app entry point class. -->
|
||||||
<!-- <entry-point class='org.gcube.portlets.user.td.wizardwidget.client.WizardEntry' /> -->
|
<!-- <entry-point class='org.gcube.portlets.user.td.wizardwidget.client.WizardEntry' /> -->
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package org.gcube.portlets.user.td.wizardwidget.client;
|
package org.gcube.portlets.user.td.wizardwidget.client;
|
||||||
|
|
||||||
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.client.rpc.TDGWTServiceAsync;
|
//import org.gcube.portlets.user.td.gwtservice.client.rpc.TDGWTServiceAsync;
|
||||||
|
|
||||||
import com.google.gwt.core.client.GWT;
|
import com.google.gwt.core.client.GWT;
|
||||||
import com.google.gwt.junit.client.GWTTestCase;
|
import com.google.gwt.junit.client.GWTTestCase;
|
||||||
|
@ -32,10 +32,10 @@ public class GwtTestWizard extends GWTTestCase {
|
||||||
*/
|
*/
|
||||||
public void testWizard() {
|
public void testWizard() {
|
||||||
// Create the service that we will test.
|
// Create the service that we will test.
|
||||||
TDGWTServiceAsync tdGWTService = TDGWTServiceAsync.INSTANCE;
|
//TDGWTServiceAsync tdGWTService = TDGWTServiceAsync.INSTANCE;
|
||||||
ServiceDefTarget target = (ServiceDefTarget) tdGWTService;
|
//ServiceDefTarget target = (ServiceDefTarget) tdGWTService;
|
||||||
System.out.println(GWT.getModuleBaseURL() + "/TDGWTService");
|
//System.out.println(GWT.getModuleBaseURL() + "/TDGWTService");
|
||||||
target.setServiceEntryPoint(GWT.getModuleBaseURL() + "/TDGWTService");
|
//target.setServiceEntryPoint(GWT.getModuleBaseURL() + "/TDGWTService");
|
||||||
|
|
||||||
// Since RPC calls are asynchronous, we will need to wait for a response
|
// Since RPC calls are asynchronous, we will need to wait for a response
|
||||||
// after this test method returns. This line tells the test runner to wait
|
// after this test method returns. This line tells the test runner to wait
|
||||||
|
|
|
@ -1,13 +1,17 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<module rename-to="WizardJUnit">
|
<module rename-to="WizardJUnit">
|
||||||
<!-- Inherit our applications main module. -->
|
<!-- Inherit our applications main module. -->
|
||||||
<inherits name='org.gcube.portlets.user.td.gwtservice.TDGWTService' />
|
<!-- <inherits name='org.gcube.portlets.user.td.gwtservice.TDGWTService' /> -->
|
||||||
|
<inherits name='org.gcube.portlets.user.td.widgetcommonevent.WidgetCommonEvent' />
|
||||||
|
|
||||||
<!-- Specify the path to any remote services. -->
|
|
||||||
|
<!-- Specify the path to any remote services.
|
||||||
<servlet path="/TDGWTService"
|
<servlet path="/TDGWTService"
|
||||||
class="org.gcube.portlets.user.td.gwtservice.server.TDGWTServiceImpl" />
|
class="org.gcube.portlets.user.td.gwtservice.server.TDGWTServiceImpl" />
|
||||||
|
-->
|
||||||
|
|
||||||
<!-- Specify the paths for translatable code -->
|
<!-- Specify the paths for translatable code -->
|
||||||
<source path='client' />
|
<source path='client' />
|
||||||
|
<source path='share' />
|
||||||
|
|
||||||
</module>
|
</module>
|
||||||
|
|
Loading…
Reference in New Issue