package org.minimalj.security;

import org.minimalj.frontend.Frontend;
import org.minimalj.frontend.Frontend.FormContent;
import org.minimalj.frontend.Frontend.IContent;
import org.minimalj.frontend.page.Page;
import org.minimalj.util.resources.Resources;

public class AuthenticationFailedPage extends Page {

	@Override
	public String getTitle() {
		return Resources.getString("AuthenticationFailed");
	}

	@Override
	public IContent getContent() {
		FormContent form = Frontend.getInstance().createFormContent(1, 100);
		form.add(Frontend.getInstance().createText(Resources.getString("AuthenticationFailed")));
		return form;
	}

}

@@ -68,59 +68,8 @@
 nd;%0A
-import org.minimalj.frontend.Frontend.FormContent;%0A
 impo
@@ -399,26 +399,14 @@
 %7B%0A%09%09
-FormContent form =
+return
  Fro
@@ -435,72 +435,18 @@
 eate
-FormContent(1, 100);%0A%09%09form.add(Frontend.getInstance().createTex
+HtmlConten
 t(Re
@@ -491,24 +491,8 @@
 d%22))
-);%0A%09%09return form
 ;%0A%09%7D

use html content not form content