Subversion Repositories WebE

Compare Revisions

Last modification

Ignore whitespace Rev 19 → Rev 20

/trunk/WebContent/login.jsp
File deleted
\ No newline at end of file
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-text/plain
\ No newline at end of property
Index: header.jsp
===================================================================
--- header.jsp (revision 19)
+++ header.jsp (nonexistent)
@@ -1,13 +0,0 @@
-<table width="100%" border="0" cellspacing="0" cellpadding="0" class="header">
- <tr>
- <td>
- &nbsp;
- </td>
- <td style="vertical-align:top;font-size:12pt;text-align:right;">
- <div><strong>Semantic Web Project</strong><br />
- by Michael Moos<br />
- Thomas Lahn</div>
- </td>
- <td width="56" class="no_padding"><img src="resources/images/ontology_logo.jpg" width="56" height="56" alt="logo" /></td>
- </tr>
-</table>
\ No newline at end of file
/header.jsp
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-text/plain
\ No newline at end of property
Index: html_head.jsp
===================================================================
--- html_head.jsp (revision 19)
+++ html_head.jsp (nonexistent)
@@ -1,39 +0,0 @@
-
-<%@ page pageEncoding="UTF-8" %>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Ontologie - WebEngineering-Projekt JSP</title>
- <link rel="icon" href="resources/images/favicon.gif" type="image/gif" />
- <link rel="stylesheet" type="text/css" href="resources/css/main.css" />
- <%--
- <script type="text/javascript" src="lib/jquery/jquery-1.4.2.min.js"></script>
- <script type="text/javascript" src="js/core.js"></script>
-
- {* Embedd additional javascript files *}
- {foreach key=row_no item=js_file from=$js_files}
- <script type="text/javascript" src="js/{ $js_file }"></script>
- {/foreach}
- --%>
-</head>
-<body>
-<%--
- {* Dialog for different messages (errors, warnings, info) *}
- <div id="overlay" {if !$dialog_type}class="hidden"{/if}></div>
- <div id="dialog" class="{if $dialog_type}dialog_{$dialog_type}{else}hidden{/if}">
- <div id="dialog_title">{$dialog_title}</div>
- <div id="dialog_text">{$dialog_text}</div>
- <div id="dialog_buttons">
- <input class="hidden" type="button" id="button_1" value="empty" />
- <input class="hidden" type="button" id="button_2" value="empty" />
- <input class="hidden" type="button" id="button_3" value="empty" />
- <input {if !$dialog_button_ok}class="hidden"{/if} type="button" id="button_ok" value=" OK " alt="{$dialog_button_ok}" />
- <input {if !$dialog_button_yes}class="hidden"{/if} type="button" id="button_yes" value=" Yes " alt="{$dialog_button_yes}" />
- <input {if !$dialog_button_no}class="hidden"{/if} type="button" id="button_no" value=" No " alt="{$dialog_button_no}" />
- <input {if !$dialog_button_continue}class="hidden"{/if} type="button" id="button_continue" value=" Continue " alt="{$dialog_button_continue}" />
- <input {if !$dialog_button_cancel}class="hidden"{/if} type="button" id="button_cancel" value=" Cancel " alt="{$dialog_button_cancel}" />
- </div>
- </div>
- --%>
\ No newline at end of file
/html_head.jsp
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-text/plain
\ No newline at end of property
Index: user_main.jsp
===================================================================
--- user_main.jsp (revision 19)
+++ user_main.jsp (nonexistent)
@@ -1 +0,0 @@
-<p>Willkommen im User-Bereich</p>
\ No newline at end of file
/user_main.jsp
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-text/plain
\ No newline at end of property
Index: user_index.jsp
===================================================================
--- user_index.jsp (revision 19)
+++ user_index.jsp (nonexistent)
@@ -1,21 +0,0 @@
-<%@ page errorPage="ErrorHandler.jsp" %>
-<%@ include file="html_head.jsp" %>
-
- <%-- Only serves as a container for the different site elements!
- Do not write any text directly into the container div! --%>
- <div id="page-container">
- <div id="header">
- <%@ include file="header.jsp" %>
- </div>
-
- <div id="navbar">
- <%@ include file="user_nav.jsp" %>
- </div>
-
- <div id="content">
- <%@ include file="user_main.jsp" %>
- </div>
- </div>
-
-</body>
-</html>
/user_index.jsp
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-text/plain
\ No newline at end of property
Index: user_nav.jsp
===================================================================
--- user_nav.jsp (revision 19)
+++ user_nav.jsp (nonexistent)
@@ -1,36 +0,0 @@
-<div id="navigation">
- <ul>
- <li>
- Ontologie
- <ul>
- <li>
- <a href="">Ansehen</a>
- </li>
- </ul>
- </li>
-
- <li>
- Begriffe
- <ul>
- <li>
- <a href="">Hinzuf&uuml;gen</a>
- </li>
- <li>
- <a href="">&Auml;ndern, L&ouml;schen</a>
- </li>
- </ul>
- </li>
-
- <li>
- Beziehungen
- <ul>
- <li>
- <a href="">Hinzuf&uuml;gen</a>
- </li>
- <li>
- <a href="">&Auml;ndern, L&ouml;schen</a>
- </li>
- </ul>
- </li>
- </ul>
-</div>
/user_nav.jsp
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-text/plain
\ No newline at end of property
Index: index.jsp
===================================================================
--- index.jsp (revision 19)
+++ index.jsp (revision 20)
@@ -1,16 +1,21 @@
-<%@ page errorPage="ErrorHandler.jsp" %>
-<%@ include file="html_head.jsp" %>
+<%@taglib uri="/struts-tags" prefix="s"%>
+<%@ page pageEncoding="UTF-8" %>
+<html>
+<head>
+ <title>Login</title>
+</head>
+<body>
+<div id="login">
+ <h1>Login</h1>
- <%-- Only serves as a container for the different site elements!
- Do not write any text directly into the container div! --%>
-
- <div id="page-container">
- <div id="header">
- <%@ include file="header.jsp" %>
- </div>
-
- <%@ include file="login.jsp" %>
- </div>
-
+ <s:form action="Login">
+ <s:textfield name="userName" label="Benutzername" />
+ <s:password name="pw" label="Passwort" />
+ <s:submit />
+ </s:form>
+ <p>
+ Klicken Sie <a href="index.jsp">hier</a> wenn Sie Ihr Passwort vergessen haben.
+ </p>
+</div>
</body>
</html>
/trunk/WebContent/decorators/mainTemplate.jsp
0,0 → 1,59
<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" prefix="decorator" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
 
<c:set var="contextPath" value="${pageContext.request.contextPath}" />
<c:set var="requestURI" value="${pageContext.request.requestURI}" />
<c:set var="isUser" value="${fn:contains(requestURI, '/user/')}" />
<c:set var="isAdmin" value="${fn:contains(requestURI, '/admin/')}" />
 
<%@ page pageEncoding="UTF-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Ontologie - <decorator:title /></title>
<link rel="stylesheet" type="text/css" href="${contextPath}/resources/css/main.css" />
</head>
<body>
 
<%-- Only serves as a container for the different site elements!
Do not write any text directly into the page-container div! --%>
<div id="page-container">
<div id="header">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="header">
<tr>
<td>
&nbsp;
</td>
<td style="vertical-align:top;font-size:12pt;text-align:right;">
<div><strong>Semantic Web Project</strong><br />
by Michael Moos<br />
Thomas Lahn</div>
</td>
<td width="56" class="no_padding"><img src="${contextPath}/resources/images/ontology_logo.jpg" width="56" height="56" alt="logo" /></td>
</tr>
</table>
</div>
<!-- Load nav bars depending on the location -->
<c:if test="${isUser}">
<div id="navbar">
<%@ include file="/user/nav.jsp" %>
</div>
</c:if>
<c:if test="${isAdmin}">
<div id="navbar">
<%@ include file="/admin/nav.jsp" %>
</div>
</c:if>
<!-- Content DIV loaded via decorator -->
<div id="content">
<decorator:body />
</div>
</div>
</body>
</html>
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: WEB-INF/sitemesh.xml
===================================================================
--- WEB-INF/sitemesh.xml (nonexistent)
+++ WEB-INF/sitemesh.xml (revision 20)
@@ -0,0 +1,50 @@
+<sitemesh>
+
+ <page-parsers>
+ <parser default="true" class="com.opensymphony.module.sitemesh.parser.DefaultPageParser" />
+ <parser content-type="text/html" class="com.opensymphony.module.sitemesh.parser.FastPageParser" />
+ </page-parsers>
+
+ <decorator-mappers>
+
+ <mapper class="com.opensymphony.module.sitemesh.mapper.PageDecoratorMapper">
+ <param name="property.1" value="meta.decorator" />
+ <param name="property.2" value="decorator" />
+ </mapper>
+
+ <mapper class="com.opensymphony.module.sitemesh.mapper.FrameSetDecoratorMapper">
+ </mapper>
+
+ <mapper class="com.opensymphony.module.sitemesh.mapper.AgentDecoratorMapper">
+ <param name="match.MSIE" value="ie" />
+ <param name="match.Mozilla [" value="ns" />
+ <param name="match.Opera" value="opera" />
+ <param name="match.Lynx" value="lynx" />
+ </mapper>
+
+ <mapper class="com.opensymphony.module.sitemesh.mapper.PrintableDecoratorMapper">
+ <param name="decorator" value="printable" />
+ <param name="parameter.name" value="printable" />
+ <param name="parameter.value" value="true" />
+ </mapper>
+
+ <mapper class="com.opensymphony.module.sitemesh.mapper.RobotDecoratorMapper">
+ <param name="decorator" value="robot" />
+ </mapper>
+
+ <mapper class="com.opensymphony.module.sitemesh.mapper.ParameterDecoratorMapper">
+ <param name="decorator.parameter" value="decorator" />
+ <param name="parameter.name" value="confirm" />
+ <param name="parameter.value" value="true" />
+ </mapper>
+
+ <mapper class="com.opensymphony.module.sitemesh.mapper.FileDecoratorMapper">
+ </mapper>
+
+ <mapper class="com.opensymphony.module.sitemesh.mapper.ConfigDecoratorMapper">
+ <param name="config" value="/WEB-INF/decorators.xml" />
+ </mapper>
+
+ </decorator-mappers>
+
+</sitemesh>
\ No newline at end of file
/WEB-INF/sitemesh.xml
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: WEB-INF/sitemesh-decorator.tld
===================================================================
--- WEB-INF/sitemesh-decorator.tld (nonexistent)
+++ WEB-INF/sitemesh-decorator.tld (revision 20)
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
+
+<taglib>
+
+ <tlibversion>1.0</tlibversion>
+ <jspversion>1.1</jspversion>
+ <shortname>SiteMesh Decorator Tags</shortname>
+ <uri>sitemesh-decorator</uri>
+
+ <tag>
+ <name>head</name>
+ <tagclass>com.opensymphony.module.sitemesh.taglib.decorator.HeadTag</tagclass>
+ <bodycontent>JSP</bodycontent>
+ </tag>
+
+ <tag>
+ <name>body</name>
+ <tagclass>com.opensymphony.module.sitemesh.taglib.decorator.BodyTag</tagclass>
+ <bodycontent>JSP</bodycontent>
+ </tag>
+
+ <tag>
+ <name>title</name>
+ <tagclass>com.opensymphony.module.sitemesh.taglib.decorator.TitleTag</tagclass>
+ <bodycontent>JSP</bodycontent>
+ <attribute>
+ <name>default</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ </attribute>
+ </tag>
+
+ <tag>
+ <name>getProperty</name>
+ <tagclass>com.opensymphony.module.sitemesh.taglib.decorator.PropertyTag</tagclass>
+ <bodycontent>JSP</bodycontent>
+ <attribute>
+ <name>property</name>
+ <required>true</required>
+ <rtexprvalue>true</rtexprvalue>
+ </attribute>
+ <attribute>
+ <name>default</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ </attribute>
+ <attribute>
+ <name>writeEntireProperty</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ </attribute>
+ </tag>
+
+ <tag>
+ <name>usePage</name>
+ <tagclass>com.opensymphony.module.sitemesh.taglib.decorator.UsePageTag</tagclass>
+ <teiclass>com.opensymphony.module.sitemesh.taglib.decorator.UsePageTEI</teiclass>
+ <bodycontent>JSP</bodycontent>
+ <attribute>
+ <name>id</name>
+ <required>true</required>
+ <rtexprvalue>false</rtexprvalue>
+ </attribute>
+ </tag>
+
+ <tag>
+ <name>useHtmlPage</name>
+ <tagclass>com.opensymphony.module.sitemesh.taglib.decorator.UsePageTag</tagclass>
+ <teiclass>com.opensymphony.module.sitemesh.taglib.decorator.UseHTMLPageTEI</teiclass>
+ <bodycontent>JSP</bodycontent>
+ <attribute>
+ <name>id</name>
+ <required>true</required>
+ <rtexprvalue>false</rtexprvalue>
+ </attribute>
+ </tag>
+
+</taglib>
\ No newline at end of file
/WEB-INF/sitemesh-decorator.tld
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: WEB-INF/decorators.xml
===================================================================
--- WEB-INF/decorators.xml (nonexistent)
+++ WEB-INF/decorators.xml (revision 20)
@@ -0,0 +1,7 @@
+<decorators defaultdir="/decorators">
+ <decorator name="main" page="mainTemplate.jsp">
+ <pattern>*</pattern>
+ </decorator>
+
+ <!-- <decorator name="panel" page="main.jsp"/>-->
+</decorators>
\ No newline at end of file
/WEB-INF/decorators.xml
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: WEB-INF/lib/jstl-1.2.jar
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: WEB-INF/lib/jstl-1.2.jar
===================================================================
--- WEB-INF/lib/jstl-1.2.jar (nonexistent)
+++ WEB-INF/lib/jstl-1.2.jar (revision 20)
/WEB-INF/lib/jstl-1.2.jar
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: WEB-INF/lib/sitemesh-2.4.1.jar
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: WEB-INF/lib/sitemesh-2.4.1.jar
===================================================================
--- WEB-INF/lib/sitemesh-2.4.1.jar (nonexistent)
+++ WEB-INF/lib/sitemesh-2.4.1.jar (revision 20)
/WEB-INF/lib/sitemesh-2.4.1.jar
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: WEB-INF/web.xml
===================================================================
--- WEB-INF/web.xml (revision 19)
+++ WEB-INF/web.xml (revision 20)
@@ -2,7 +2,22 @@
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
<display-name>WebEngineeringProject</display-name>
- <filter>
+
+ <!-- Start of SiteMesh stuff -->
+ <filter>
+ <filter-name>sitemesh</filter-name>
+ <filter-class>com.opensymphony.module.sitemesh.filter.PageFilter</filter-class>
+ </filter>
+
+ <filter-mapping>
+ <filter-name>sitemesh</filter-name>
+ <url-pattern>*</url-pattern>
+ </filter-mapping>
+ <!-- End of SiteMesh stuff -->
+
+
+ <!-- Begin struts 2 -->
+ <filter>
<filter-name>struts2</filter-name>
<filter-class>
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class>
@@ -11,23 +26,10 @@
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
+ <!-- End struts 2 -->
<welcome-file-list>
- <welcome-file>index.html</welcome-file>
- <welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
- <welcome-file>default.html</welcome-file>
- <welcome-file>default.htm</welcome-file>
- <welcome-file>default.jsp</welcome-file>
</welcome-file-list>
- <servlet>
- <description></description>
- <display-name>Servlet</display-name>
- <servlet-name>Servlet</servlet-name>
- <servlet-class>Servlet</servlet-class>
- </servlet>
- <servlet-mapping>
- <servlet-name>Servlet</servlet-name>
- <url-pattern>/Servlet</url-pattern>
- </servlet-mapping>
+
</web-app>
\ No newline at end of file
/trunk/WebContent/WEB-INF/sitemesh-page.tld
0,0 → 1,95
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
 
<taglib>
 
<tlibversion>1.0</tlibversion>
<jspversion>1.1</jspversion>
<shortname>SiteMesh Page Tags</shortname>
<uri>sitemesh-page</uri>
 
<tag>
<name>applyDecorator</name>
<tagclass>com.opensymphony.module.sitemesh.taglib.page.ApplyDecoratorTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>page</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>title</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>id</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>contentType</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>encoding</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
 
<!-- Deprecated tag: use applyDecorator instead -->
<tag>
<name>apply-decorator</name>
<tagclass>com.opensymphony.module.sitemesh.taglib.page.ApplyDecoratorTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>page</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>title</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>id</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>contentType</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>encoding</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
 
<tag>
<name>param</name>
<tagclass>com.opensymphony.module.sitemesh.taglib.page.ParamTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
 
</taglib>
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: admin/main.jsp
===================================================================
--- admin/main.jsp (nonexistent)
+++ admin/main.jsp (revision 20)
@@ -0,0 +1,9 @@
+<html>
+<head>
+<title>Startseite - Administration</title>
+</head>
+<body>
+
+<p>Willkommen im Admin-Bereich</p>
+</body>
+</html>
/admin/main.jsp
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: admin/nav.jsp
===================================================================
--- admin/nav.jsp (nonexistent)
+++ admin/nav.jsp (revision 20)
@@ -0,0 +1,37 @@
+<div id="navigation">
+ <ul>
+ <li>
+ User
+ <ul>
+ <li>
+ <a href="userAddForm">Hinzuf&uuml;gen</a>
+ </li>
+ <li>
+ <a href="userList">&Auml;ndern, L&ouml;schen</a>
+ </li>
+ </ul>
+ </li>
+
+ <li>
+ Beziehungen
+ <ul>
+ <li>
+ <a href="">Hinzuf&uuml;gen</a>
+ </li>
+ <li>
+ <a href="">&Auml;ndern, L&ouml;schen</a>
+ </li>
+ </ul>
+ </li>
+
+ <li>
+ User-Settings
+ <ul>
+ <li>
+ <a href="../Logout">Logout</a>
+ </li>
+ </ul>
+ </li>
+
+ </ul>
+</div>
/admin/nav.jsp
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: admin/userList.jsp
===================================================================
--- admin/userList.jsp (nonexistent)
+++ admin/userList.jsp (revision 20)
@@ -0,0 +1,10 @@
+<html>
+<head>
+<title>User bearbeiten</title>
+</head>
+<body>
+
+<h1>UserListe</h1>
+<p>Noch nicht umgesetzt</p>
+</body>
+</html>
\ No newline at end of file
/admin/userList.jsp
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: admin/userAddForm.jsp
===================================================================
--- admin/userAddForm.jsp (nonexistent)
+++ admin/userAddForm.jsp (revision 20)
@@ -0,0 +1,20 @@
+<%@taglib uri="/struts-tags" prefix="s"%>
+<html>
+<head>
+<title>User erstellen</title>
+</head>
+<body>
+
+<h1>User Hinzuf&uuml;gen</h1>
+<p>Noch nicht umgesetzt...</p>
+<s:form action="doUserAdd">
+ <s:textfield name="username" label="User Name" />
+ <s:password name="password" label="Password" />
+ <s:textfield name="firstname" label="Vorname" />
+ <s:textfield name="lastname" label="Nachname" />
+ <s:checkbox name="admin"
+ label="Soll der User admin sein?" />
+ <s:submit value="Add" />
+</s:form>
+</body>
+</html>
/admin/userAddForm.jsp
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: resources
===================================================================
--- resources (revision 19)
+++ resources (revision 20)
/resources
Property changes:
Added: svn:ignore
## -0,0 +1,7 ##
+icons_downloaded
+
+readme.html
+
+readme.txt
+
+famfamfam_silk_icons_v013.zip
Index: user/main.jsp
===================================================================
--- user/main.jsp (nonexistent)
+++ user/main.jsp (revision 20)
@@ -0,0 +1,10 @@
+<html>
+<head>
+<title>Startseite Benutzer</title>
+</head>
+<body>
+
+<p>Willkommen im User-Bereich</p>
+
+</body>
+</html>
/user/main.jsp
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: user/nav.jsp
===================================================================
--- user/nav.jsp (nonexistent)
+++ user/nav.jsp (revision 20)
@@ -0,0 +1,46 @@
+<div id="navigation">
+ <ul>
+ <li>
+ Ontologie
+ <ul>
+ <li>
+ <a href="">Ansehen</a>
+ </li>
+ </ul>
+ </li>
+
+ <li>
+ Begriffe
+ <ul>
+ <li>
+ <a href="">Hinzuf&uuml;gen</a>
+ </li>
+ <li>
+ <a href="">&Auml;ndern, L&ouml;schen</a>
+ </li>
+ </ul>
+ </li>
+
+ <li>
+ Beziehungen
+ <ul>
+ <li>
+ <a href="">Hinzuf&uuml;gen</a>
+ </li>
+ <li>
+ <a href="">&Auml;ndern, L&ouml;schen</a>
+ </li>
+ </ul>
+ </li>
+
+ <li>
+ User-Settings
+ <ul>
+ <li>
+ <a href="../Logout">Logout</a>
+ </li>
+ </ul>
+ </li>
+
+ </ul>
+</div>
/user/nav.jsp
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: user/index.jsp
===================================================================
--- user/index.jsp (nonexistent)
+++ user/index.jsp (revision 20)
@@ -0,0 +1,21 @@
+<%@ page errorPage="../ErrorHandler.jsp" %>
+<%@ include file="../html_head.jsp" %>
+
+ <%-- Only serves as a container for the different site elements!
+ Do not write any text directly into the container div! --%>
+ <div id="page-container">
+ <div id="header">
+ <%@ include file="../header.jsp" %>
+ </div>
+
+ <div id="navbar">
+ <%@ include file="nav.jsp" %>
+ </div>
+
+ <div id="content">
+ <%@ include file="main.jsp" %>
+ </div>
+ </div>
+
+</body>
+</html>
/user/index.jsp
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property