68 lines
1.9 KiB
Plaintext
68 lines
1.9 KiB
Plaintext
<%@ page language="java"%>
|
|
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%>
|
|
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
|
|
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic" %>
|
|
|
|
<html:html locale="true">
|
|
<head>
|
|
<html:base />
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
|
|
|
<title>Comic Application</title>
|
|
</head>
|
|
<body>
|
|
<table border="0" width="100%" height="100%">
|
|
<colgroup>
|
|
<col width="10%">
|
|
<col width="80%">
|
|
<col width="10%">
|
|
</colgroup>
|
|
<!-- Kopfbereich -->
|
|
<tr bgcolor="lightgrey" height="10%">
|
|
<td align="center" colspan="3"><b>Library Manager</b></td>
|
|
</tr>
|
|
<!-- Hauptbereich -->
|
|
<tr>
|
|
<!-- Linker Navigationsbereich -->
|
|
<td bgcolor="tan" valign="top" with="100">
|
|
<% out.println(com.peetz.comics.navigation.MenuLinks.getInstance().toString()); %>
|
|
</td>
|
|
<td bgcolor="wheat">
|
|
<%-- create a html form --%>
|
|
<html:form action="comicEdit">
|
|
<%-- print out the form data --%>
|
|
<table border="1">
|
|
<tbody>
|
|
<tr><td>Title:</td><td><html:text property="title" /></td></tr>
|
|
<tr><td>Publisher:</td><td></td></tr>
|
|
<tr><td>Completed:</td><td><html:checkbox property="completed" /></td></tr>
|
|
<tr><td>Current Order:</td><td><html:checkbox property="currentOrder" /></td></tr>
|
|
</tbody>
|
|
</table>
|
|
<%-- set the parameter for the dispatch action --%>
|
|
<html:hidden property="do" value="saveComic" />
|
|
|
|
<br>
|
|
<%-- submit and back button --%>
|
|
<html:button property="back"
|
|
onclick="history.back();">
|
|
Back
|
|
</html:button>
|
|
|
|
<html:submit>Save</html:submit>
|
|
</html:form>
|
|
</td>
|
|
<!-- Rechter Navigationsbereich -->
|
|
<td bgcolor="tan" with="15%"> </td>
|
|
</tr>
|
|
<!-- Fussbereich -->
|
|
<tr bgcolor="lightgrey" height="10%">
|
|
<td align="right" colspan="3">
|
|
<p>Ingenieurbüro Thomas Peetz</p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html:html>
|