summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/ui/LoginForm.java
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2010-01-25 15:45:08 +0000
committerArtur Signell <artur.signell@itmill.com>2010-01-25 15:45:08 +0000
commitd5afb8f7999bbe5166d3d3dd978fbba41fd5f012 (patch)
tree12eacdb37e3d2c65d6e5a746a76788239820bbaa /src/com/vaadin/ui/LoginForm.java
parentd1a635a81be3a6de05b923e6c36e76beb28664e4 (diff)
downloadvaadin-framework-d5afb8f7999bbe5166d3d3dd978fbba41fd5f012.tar.gz
vaadin-framework-d5afb8f7999bbe5166d3d3dd978fbba41fd5f012.zip
Merged [10797]-[10991] from 6.2
svn changeset:10996/svn branch:6.3
Diffstat (limited to 'src/com/vaadin/ui/LoginForm.java')
-rw-r--r--src/com/vaadin/ui/LoginForm.java14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/com/vaadin/ui/LoginForm.java b/src/com/vaadin/ui/LoginForm.java
index 9d1de60505..dd6b527b4c 100644
--- a/src/com/vaadin/ui/LoginForm.java
+++ b/src/com/vaadin/ui/LoginForm.java
@@ -43,9 +43,6 @@ public class LoginForm extends CustomComponent {
private ApplicationResource loginPage = new ApplicationResource() {
- /**
- *
- */
private static final long serialVersionUID = 1L;
public Application getApplication() {
@@ -76,9 +73,6 @@ public class LoginForm extends CustomComponent {
private ParameterHandler paramHandler = new ParameterHandler() {
- /**
- *
- */
private static final long serialVersionUID = 1L;
public void handleParameters(Map<String, String[]> parameters) {
@@ -100,9 +94,6 @@ public class LoginForm extends CustomComponent {
};
private URIHandler uriHandler = new URIHandler() {
- /**
- *
- */
private static final long serialVersionUID = 1L;
private final String responce = "<html><body>Login form handeled."
+ "<script type='text/javascript'>top.vaadin.forceSync();"
@@ -175,7 +166,7 @@ public class LoginForm extends CustomComponent {
+ "<div class='v-app v-app-loginpage' style=\"background:transparent;\">"
+ "<iframe name='logintarget' style='width:0;height:0;"
+ "border:0;margin:0;padding:0;'></iframe>"
- + "<form id='loginf' target='logintarget' onkeypress=\"submitOnEnter(event)\">"
+ + "<form id='loginf' target='logintarget' onkeypress=\"submitOnEnter(event)\" method=\"post\">"
+ "<div>Username</div><div >"
+ "<input class='v-textfield' style='display:block;' type='text' name='username'></div>"
+ "<div>Password</div>"
@@ -211,9 +202,6 @@ public class LoginForm extends CustomComponent {
*/
public class LoginEvent extends Event {
- /**
- *
- */
private static final long serialVersionUID = 1L;
private Map<String, String> params;