<%@page pageEncoding="utf-8" contentType="text/html" %> <%@ page import ="java.util.Hashtable" %> <%@ page import ="java.util.StringTokenizer" %> <%@ page import ="info.bliki.wiki.model.*" %> <%@ page import ="de.superx.common.SxResultSet,de.superx.common.SxResultRow,de.superx.servlet.ServletUtils" %> <% String mandantenid="default"; //Ermittlung der Mandantenid zuerst aus Session, //wenn leer (d.h. User ist noch nicht angemeldet) //dann über request-Parameter Object mandantobject=request.getSession().getAttribute("MandantenID"); if(mandantobject != null) mandantenid=mandantobject.toString(); String mandantparam=request.getParameter("MandantenID"); if(mandantparam !=null && !mandantenid.equals("")) mandantenid=mandantparam; else mandantparam="default"; String wikiHeader="Willkommen zu SuperX"; String wikiBody=""; String queryWiki = "select contents_short,contents_long \n" + "from sx_captions where id='WIKI_LOGIN_TOP' and locale='de'" ; String info_text_html=""; String default_text_html=""; %> <%@ include file="/xml/wikiSelector.inc" %> <html> <head> <meta http-equiv="content-type" content="text/html;"> <title><%= wikiHeader%></title> <link rel="stylesheet" type="text/css" href="../style/superx.css" /> </head> <body> <% if(!info_text_html.equals("")) { out.println(info_text_html); } else { //Default Text falls es keine Wiki Kopfzeile gibt: %> <a href="http://www.superx-projekt.de" target="_parent" title="Homepage"><img src="../applet/images/Symbol.gif" alt="Logo von SuperX" border="0" /></a> <h3>Anmeldung</h3> <% } %> <!-- hier das Login Formular:--> <FORM ACTION="/superx/servlet/SuperXmlAnmeldung" METHOD="post"> <p><p>Kennung: <br /><INPUT TYPE="Text" NAME="kennung" VALUE=""> </p> <p><p>Passwort: <br /><INPUT TYPE="Password" NAME="passwort" value=""> <INPUT TYPE="hidden" NAME="MandantenID" value="<%= mandantparam %>"> </p> <input type="Submit" name="Abschicken" value="Anmelden" class="clsButtonStyle" /> </form> <!-- TODO und hier die Fußzeile der Anmeldeseite --> </body> </html>