diff --git a/src/main/java/org/gcube/portlets/user/td/sharewidget/ShareWidget.gwt.xml b/src/main/java/org/gcube/portlets/user/td/sharewidget/ShareWidget.gwt.xml
new file mode 100644
index 0000000..03a1a72
--- /dev/null
+++ b/src/main/java/org/gcube/portlets/user/td/sharewidget/ShareWidget.gwt.xml
@@ -0,0 +1,32 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/main/java/org/gcube/portlets/user/td/sharewidget/client/ShareWidgetEntry.java b/src/main/java/org/gcube/portlets/user/td/sharewidget/client/ShareWidgetEntry.java
new file mode 100644
index 0000000..cfa5184
--- /dev/null
+++ b/src/main/java/org/gcube/portlets/user/td/sharewidget/client/ShareWidgetEntry.java
@@ -0,0 +1,15 @@
+package org.gcube.portlets.user.td.sharewidget.client;
+
+
+
+import com.allen_sauer.gwt.log.client.Log;
+import com.google.gwt.core.client.EntryPoint;
+
+public class ShareWidgetEntry implements EntryPoint {
+
+
+ public void onModuleLoad() {
+
+ Log.info("Hello!");
+ }
+}
diff --git a/src/main/resources/org/gcube/portlets/user/td/sharewidget/ShareWidget.gwt.xml b/src/main/resources/org/gcube/portlets/user/td/sharewidget/ShareWidget.gwt.xml
new file mode 100644
index 0000000..c96aed5
--- /dev/null
+++ b/src/main/resources/org/gcube/portlets/user/td/sharewidget/ShareWidget.gwt.xml
@@ -0,0 +1,32 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/main/resources/org/gcube/portlets/user/td/sharewidget/client/Messages.properties b/src/main/resources/org/gcube/portlets/user/td/sharewidget/client/Messages.properties
new file mode 100644
index 0000000..c222555
--- /dev/null
+++ b/src/main/resources/org/gcube/portlets/user/td/sharewidget/client/Messages.properties
@@ -0,0 +1,2 @@
+sendButton = Send
+nameField = Enter your name
\ No newline at end of file
diff --git a/src/main/resources/org/gcube/portlets/user/td/sharewidget/client/Messages_fr.properties b/src/main/resources/org/gcube/portlets/user/td/sharewidget/client/Messages_fr.properties
new file mode 100644
index 0000000..b4a7627
--- /dev/null
+++ b/src/main/resources/org/gcube/portlets/user/td/sharewidget/client/Messages_fr.properties
@@ -0,0 +1,2 @@
+sendButton = Envoyer
+nameField = Entrez votre nom
\ No newline at end of file
diff --git a/src/main/webapp/ShareWidget.css b/src/main/webapp/ShareWidget.css
new file mode 100644
index 0000000..7aca7ac
--- /dev/null
+++ b/src/main/webapp/ShareWidget.css
@@ -0,0 +1,34 @@
+/** Add css rules here for your application. */
+
+
+/** Example rules used by the template application (remove for your app) */
+h1 {
+ font-size: 2em;
+ font-weight: bold;
+ color: #777777;
+ margin: 40px 0px 70px;
+ text-align: center;
+}
+
+.sendButton {
+ display: block;
+ font-size: 16pt;
+}
+
+/** Most GWT widgets already have a style name defined */
+.gwt-DialogBox {
+ width: 400px;
+}
+
+.dialogVPanel {
+ margin: 5px;
+}
+
+.serverResponseLabelError {
+ color: red;
+}
+
+/** Set ids using widget.getElement().setId("idOfElement") */
+#closeButton {
+ margin: 15px 6px 6px;
+}
diff --git a/src/main/webapp/ShareWidget.html b/src/main/webapp/ShareWidget.html
new file mode 100644
index 0000000..d8b9fe3
--- /dev/null
+++ b/src/main/webapp/ShareWidget.html
@@ -0,0 +1,50 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Web Application Starter Project
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml
new file mode 100644
index 0000000..00bd2f5
--- /dev/null
+++ b/src/main/webapp/WEB-INF/web.xml
@@ -0,0 +1,35 @@
+
+
+
+
+
+
+
+ TDGWTService
+ org.gcube.portlets.user.td.gwtservice.server.TDGWTServiceImpl
+
+
+
+ jUnitHostImpl
+ com.google.gwt.junit.server.JUnitHostImpl
+
+
+
+
+ TDGWTService
+ tdgwtservice/TDGWTService
+
+
+ jUnitHostImpl
+ SDMXImportWizardTDWidgets/junithost/*
+
+
+
+
+
+ SDMXImportWizardTD.html
+
+
+
diff --git a/src/test/java/org/gcube/portlets/user/td/sharewidget/client/GwtTestShareWidget.java b/src/test/java/org/gcube/portlets/user/td/sharewidget/client/GwtTestShareWidget.java
new file mode 100644
index 0000000..a61ec35
--- /dev/null
+++ b/src/test/java/org/gcube/portlets/user/td/sharewidget/client/GwtTestShareWidget.java
@@ -0,0 +1,64 @@
+package org.gcube.portlets.user.td.sharewidget.client;
+
+
+
+import com.google.gwt.junit.client.GWTTestCase;
+
+/**
+ * GWT JUnit integration tests must extend GWTTestCase.
+ * Using "GwtTest*" naming pattern exclude them from running with
+ * surefire during the test phase.
+ *
+ * If you run the tests using the Maven command line, you will have to
+ * navigate with your browser to a specific url given by Maven.
+ * See http://mojo.codehaus.org/gwt-maven-plugin/user-guide/testing.html
+ * for details.
+ */
+public class GwtTestShareWidget extends GWTTestCase {
+
+ /**
+ * Must refer to a valid module that sources this class.
+ */
+ public String getModuleName() {
+ return "org.gcube.portlets.user.td.sharewidget.ShareWidgetJUnit";
+ }
+
+
+ /**
+ * This test will send a request to the server using the greetServer method in
+ * GreetingService and verify the response.
+ */
+ public void testGreetingService() {
+ // Create the service that we will test.
+ //GreetingServiceAsync greetingService = GWT.create(GreetingService.class);
+ //ServiceDefTarget target = (ServiceDefTarget) greetingService;
+ //target.setServiceEntryPoint(GWT.getModuleBaseURL() + "SDMXImportWizardTD/greet");
+
+ // 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
+ // up to 10 seconds before timing out.
+ //delayTestFinish(10000);
+
+ // Send a request to the server.
+ /* greetingService.greetServer("GWT User", new AsyncCallback() {
+ public void onFailure(Throwable caught) {
+ // The request resulted in an unexpected error.
+ fail("Request failure: " + caught.getMessage());
+ }
+
+
+ public void onSuccess(String result) {
+ // Verify that the response is correct.
+ assertTrue(result.startsWith("Hello, GWT User!"));
+
+ // Now that we have received a response, we need to tell the test runner
+ // that the test is complete. You must call finishTest() after an
+ // asynchronous test finishes successfully, or the test will time out.
+ finishTest();
+ }
+ });*/
+
+ }
+
+
+}
diff --git a/src/test/resources/org/gcube/portlets/user/td/sharewidget/ShareWidgetJUnit.gwt.xml b/src/test/resources/org/gcube/portlets/user/td/sharewidget/ShareWidgetJUnit.gwt.xml
new file mode 100644
index 0000000..b87ca47
--- /dev/null
+++ b/src/test/resources/org/gcube/portlets/user/td/sharewidget/ShareWidgetJUnit.gwt.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file