Skip to content
Snippets Groups Projects
Commit 6d6e452a authored by Sebastian Knoblauch's avatar Sebastian Knoblauch
Browse files

Revert "no message"

This reverts commit bc3ceb45.
parents bc3ceb45 e58a9f65
No related branches found
No related tags found
No related merge requests found
target/classes/org/s4s/SimpleLoginMainView$1.class
target/classes/org/s4s/SimpleLoginMainView.class
target/classes/org/s4s/SimpleLoginUI$1.class
target/classes/org/s4s/SimpleLoginUI.class
target/classes/org/s4s/SimpleLoginView$PasswordValidator.class
target/classes/org/s4s/SimpleLoginView.class
...@@ -38,9 +38,6 @@ ...@@ -38,9 +38,6 @@
<property name="caretWidth" class="java.lang.Integer" /> <property name="caretWidth" class="java.lang.Integer" />
</properties> </properties>
</component> </component>
<component name="EntryPointsManager">
<entry_points version="2.0" />
</component>
<component name="FrameworkDetectionExcludesConfiguration"> <component name="FrameworkDetectionExcludesConfiguration">
<file type="gwt" url="file://$PROJECT_DIR$" /> <file type="gwt" url="file://$PROJECT_DIR$" />
<file type="web" url="file://$PROJECT_DIR$" /> <file type="web" url="file://$PROJECT_DIR$" />
...@@ -52,7 +49,7 @@ ...@@ -52,7 +49,7 @@
</list> </list>
</option> </option>
</component> </component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK"> <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/classes" /> <output url="file://$PROJECT_DIR$/classes" />
</component> </component>
</project> </project>
\ No newline at end of file
This diff is collapsed.
...@@ -14,17 +14,14 @@ ...@@ -14,17 +14,14 @@
</configuration> </configuration>
</facet> </facet>
</component> </component>
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8" inherit-compiler-output="false"> <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
<output url="file://$MODULE_DIR$/target/classes" /> <output url="file://$MODULE_DIR$/target/classes" />
<output-test url="file://$MODULE_DIR$/target/test-classes" /> <output-test url="file://$MODULE_DIR$/target/test-classes" />
<content url="file://$MODULE_DIR$"> <content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" /> <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" /> <sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/target/generated-resources/gwt" type="java-resource" /> <sourceFolder url="file://$MODULE_DIR$/target/generated-resources/gwt" type="java-resource" />
<excludeFolder url="file://$MODULE_DIR$/target/.generated" /> <excludeFolder url="file://$MODULE_DIR$/target" />
<excludeFolder url="file://$MODULE_DIR$/target/classes" />
<excludeFolder url="file://$MODULE_DIR$/target/maven-status" />
<excludeFolder url="file://$MODULE_DIR$/target/tmp" />
</content> </content>
<orderEntry type="inheritedJdk" /> <orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="sourceFolder" forTests="false" />
......
package org.s4s; package org.s4s;
import javax.servlet.annotation.WebServlet; import javax.servlet.annotation.WebServlet;
import com.vaadin.annotations.Theme; import com.vaadin.annotations.Theme;
import com.vaadin.annotations.VaadinServletConfiguration; import com.vaadin.annotations.VaadinServletConfiguration;
import com.vaadin.navigator.Navigator;
import com.vaadin.server.VaadinRequest; import com.vaadin.server.VaadinRequest;
import com.vaadin.server.VaadinServlet; import com.vaadin.server.VaadinServlet;
import com.vaadin.ui.*; import com.vaadin.ui.Button;
import com.vaadin.ui.Label;
import com.vaadin.ui.TextField;
import com.vaadin.ui.UI;
import com.vaadin.ui.VerticalLayout;
/** /**
* This UI is the application entry point. A UI may either represent a browser window * This UI is the application entry point. A UI may either represent a browser window
...@@ -18,25 +19,17 @@ import com.vaadin.ui.*; ...@@ -18,25 +19,17 @@ import com.vaadin.ui.*;
* The UI is initialized using {@link #init(VaadinRequest)}. This method is intended to be * The UI is initialized using {@link #init(VaadinRequest)}. This method is intended to be
* overridden to add component to the user interface and initialize non-component functionality. * overridden to add component to the user interface and initialize non-component functionality.
*/ */
@Theme("mytheme") @Theme("mytheme")
public class MyUI extends UI { public class MyUI extends UI {
Navigator navigator;
protected static final String MAINVIEW = "main";
@Override @Override
protected void init(VaadinRequest vaadinRequest) { protected void init(VaadinRequest vaadinRequest) {
Label label = new Label("Das erste Label unseres Shop in Shop System"); Label label = new Label("Das erste Label unseres Shop in Shop System");
setContent(label); setContent(label);
} }
@WebServlet(urlPatterns = "*/ @WebServlet(urlPatterns = "/*", name = "MyUIServlet", asyncSupported = true)
/*", name = "MyUIServlet", asyncSupported = true)
@VaadinServletConfiguration(ui = MyUI.class, productionMode = false) @VaadinServletConfiguration(ui = MyUI.class, productionMode = false)
public static class MyUIServlet extends VaadinServlet { public static class MyUIServlet extends VaadinServlet {
} }
} }
No preview for this file type
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment