/it-ru/trunk/webapp/generalError.jsp |
---|
4,25 → 4,20 |
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> |
<%@ taglib uri="/WEB-INF/ak-backpath.tld" prefix="backpath" %> |
<%@ taglib uri="/WEB-INF/ak-strutsx.tld" prefix="strutsx" %> |
<%@ taglib uri="/WEB-INF/hostadmiral-core.tld" prefix="core" %> |
<html> |
<head> |
<meta http-equiv="expires" content="0"> |
<title><bean:message key="ak.hostadmiral.page.generalError.title" /></title> |
<title>Error</title> |
<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
</head> |
<body> |
<h1><bean:message key="ak.hostadmiral.page.generalError.title" /></h1> |
<h1>Error</h1> |
<p><bean:message key="ak.hostadmiral.page.generalError.message" /></p> |
<p>There is a general error occured. Please go <backpath:backlink>back</backpath:backlink> and try again.</p> |
<!-- FIXME: backpath:link><bean:message key="ak.hostadmiral.page.generalError.index" /></ backpath : link--> |
<br> |
<backpath:backlink><bean:message key="ak.hostadmiral.page.generalError.back" /></backpath:backlink> |
</body> |
</html> |
/it-ru/trunk/webapp/error.jsp |
---|
9,17 → 9,17 |
<head> |
<meta http-equiv="expires" content="0"> |
<title><bean:message key="ak.hostadmiral.page.error.title" /></title> |
<title>Error</title> |
<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
</head> |
<body> |
<h1><bean:message key="ak.hostadmiral.page.error.title" /></h1> |
<h1>Error</h1> |
<strutsx:errorsIterator id="errors" /> |
<strutsx:notEmpty name="errors"> |
<div class="error"><bean:message key="ak.hostadmiral.page.general.errors" />: |
<div class="error">There are some errors occured |
<ul> |
<logic:iterate name="errors" id="error"> |
<li><strutsx:message name="error" property="key" valuesProperty="values" /></li> |
29,7 → 29,7 |
</strutsx:notEmpty> |
<br> |
<backpath:backlink><bean:message key="ak.hostadmiral.page.error.back" /></backpath:backlink> |
<backpath:backlink>back</backpath:backlink> |
</body> |
/it-ru/trunk/webapp/WEB-INF/validator-rules.xml |
---|
983,6 → 983,18 |
</validator> |
<validator name="number" |
classname="ak.itru.util.Validator" |
method="validateNumber" |
methodParams="java.lang.Object, |
org.apache.commons.validator.ValidatorAction, |
org.apache.commons.validator.Field, |
org.apache.struts.action.ActionErrors, |
javax.servlet.http.HttpServletRequest" |
depends="" |
msg="errors.number" |
/> |
<validator name="currency" |
classname="ak.itru.util.Validator" |
method="validateCurrency" |
/it-ru/trunk/webapp/WEB-INF/web.xml |
---|
23,6 → 23,7 |
ak.itru.core.model.EventManager; |
ak.itru.core.model.ActManager; |
ak.itru.core.model.ApartmentManager; |
ak.itru.core.model.ParticipantManager; |
</param-value> |
</init-param> |
</filter> |
114,4 → 115,26 |
<taglib-location>/WEB-INF/ak-backpath.tld</taglib-location> |
</taglib> |
<security-constraint> |
<web-resource-collection> |
<web-resource-name>Admin</web-resource-name> |
<url-pattern>/admin/*</url-pattern> |
</web-resource-collection> |
<auth-constraint> |
<role-name>itru-admin</role-name> |
</auth-constraint> |
</security-constraint> |
<login-config> |
<auth-method>BASIC</auth-method> |
<realm-name>it-ru Admin</realm-name> |
</login-config> |
<security-role> |
<description> |
Administrator of it-ru |
</description> |
<role-name>itru-admin</role-name> |
</security-role> |
</web-app> |
/it-ru/trunk/webapp/WEB-INF/ak-itru.tld |
---|
0,0 → 1,273 |
<?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>itru</shortname> |
<uri>http://26th.net/itru</uri> |
<tag> |
<name>link</name> |
<tagclass>ak.itru.core.taglib.ExtendedLinkTag</tagclass> |
<attribute> |
<name>accesskey</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>action</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>anchor</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>forward</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>href</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>indexed</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>indexId</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>linkName</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>name</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>onblur</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>onclick</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>ondblclick</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>onfocus</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>onkeydown</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>onkeypress</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>onkeyup</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>onmousedown</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>onmousemove</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>onmouseout</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>onmouseover</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>onmouseup</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>page</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>paramId</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>paramName</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>paramProperty</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>paramScope</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>paramId2</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>paramName2</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>paramProperty2</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>paramScope2</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>paramId3</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>paramName3</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>paramProperty3</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>paramScope3</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>paramId4</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>paramName4</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>paramProperty4</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>paramScope4</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>property</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>scope</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>style</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>styleClass</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>styleId</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>tabindex</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>target</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>title</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>titleKey</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>transaction</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>backPathKey</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>backPathParam</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>backPathIgnore</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>zip</name> |
<required>false</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
</tag> |
</taglib> |
/it-ru/trunk/webapp/WEB-INF/struts-config.xml |
---|
28,7 → 28,8 |
<form-property name="account" type="java.lang.String" /> |
<form-property name="enabled" type="java.lang.Boolean" /> |
<form-property name="comment" type="java.lang.String" /> |
<form-property name="acts" type="ak.itru.core.form.EventActBean[]" size="1" /> |
<form-property name="acts" type="ak.itru.core.form.EventActBean[]" size="1" /> |
<form-property name="apartments" type="ak.itru.core.form.EventApartmentBean[]" size="1" /> |
</form-bean> |
<form-bean |
61,6 → 62,42 |
<form-property name="url" type="java.lang.String" /> |
<form-property name="comment" type="java.lang.String" /> |
</form-bean> |
<form-bean |
name="ParticipantListForm" |
type="org.apache.struts.validator.DynaValidatorForm"> |
<form-property name="event" type="java.lang.String" /> |
</form-bean> |
<form-bean |
name="ParticipantForm" |
type="org.apache.struts.validator.DynaValidatorForm"> |
<form-property name="id" type="java.lang.String" /> |
<form-property name="event" type="java.lang.String" /> |
</form-bean> |
<form-bean |
name="ParticipantEditForm" |
type="org.apache.struts.validator.DynaValidatorForm"> |
<form-property name="id" type="java.lang.String" /> |
<form-property name="event" type="java.lang.String" /> |
<form-property name="nick" type="java.lang.String" /> |
<form-property name="email" type="java.lang.String" /> |
<form-property name="emailPublic" type="java.lang.Boolean" /> |
<form-property name="name" type="java.lang.String" /> |
<form-property name="phone" type="java.lang.String" /> |
<form-property name="persons" type="java.lang.String" /> |
<form-property name="fromZip" type="java.lang.String" /> |
<form-property name="fromCity" type="java.lang.String" /> |
<form-property name="departure" type="java.lang.String" /> |
<form-property name="freeTransport" type="java.lang.String" /> |
<form-property name="transportComment" type="java.lang.String" /> |
<form-property name="freeSleep" type="java.lang.String" /> |
<form-property name="sleepComment" type="java.lang.String" /> |
<form-property name="payed" type="java.lang.Boolean" /> |
<form-property name="comment" type="java.lang.String" /> |
<form-property name="privateComment" type="java.lang.String" /> |
</form-bean> |
</form-beans> |
<global-exceptions> |
210,6 → 247,51 |
> |
</action> |
<!-- == participant ========================================================================= --> |
<action |
path="/admin/participant/list" |
type="ak.itru.core.action.AdminParticipantAction" |
parameter="list" |
name="ParticipantListForm" |
validate="true" |
scope="request" |
> |
<forward name="default" path="/admin/participant/list.jsp" /> |
</action> |
<action |
path="/admin/participant/delete" |
type="ak.itru.core.action.AdminParticipantAction" |
parameter="delete" |
name="ParticipantForm" |
validate="true" |
scope="request" |
> |
</action> |
<action |
path="/admin/participant/edit" |
type="ak.itru.core.action.AdminParticipantAction" |
parameter="edit" |
name="ParticipantForm" |
validate="true" |
scope="request" |
> |
<forward name="default" path="/admin/participant/edit.jsp" /> |
</action> |
<action |
path="/admin/participant/submit" |
type="ak.itru.core.action.AdminParticipantAction" |
parameter="submit" |
name="ParticipantEditForm" |
validate="true" |
scope="request" |
input="/admin/participant/edit.jsp" |
> |
</action> |
</action-mappings> |
<controller processorClass="ak.strutsx.RequestProcessorX" /> |
/it-ru/trunk/webapp/WEB-INF/validation.xml |
---|
71,5 → 71,45 |
<msg name="currency" key="ak.itru.core.apartment.edit.price.wrong" /> |
</field> |
</form> |
<form name="ParticipantListForm"> |
<field property="event" depends="long"> |
<msg name="long" key="ak.itru.core.participant.edit.event.wrong" /> |
</field> |
</form> |
<form name="ParticipantForm"> |
<field property="event" depends="long"> |
<msg name="long" key="ak.itru.core.participant.edit.event.wrong" /> |
</field> |
<field property="id" depends="long"> |
<msg name="long" key="ak.itru.core.participant.edit.id.wrong" /> |
</field> |
</form> |
<form name="ParticipantEditForm"> |
<field property="event" depends="long"> |
<msg name="long" key="ak.itru.core.participant.edit.event.wrong" /> |
</field> |
<field property="id" depends="long"> |
<msg name="long" key="ak.itru.core.participant.edit.id.wrong" /> |
</field> |
<field property="nick" depends="required"> |
<msg name="required" key="ak.itru.core.participant.edit.nick.required" /> |
</field> |
<field property="email" depends="required,email"> |
<msg name="required" key="ak.itru.core.participant.edit.email.required" /> |
<msg name="email" key="ak.itru.core.participant.edit.email.wrong" /> |
</field> |
<field property="persons" depends="integer"> |
<msg name="integer" key="ak.itru.core.participant.edit.persons.wrong" /> |
</field> |
<field property="freeTransport" depends="integer"> |
<msg name="integer" key="ak.itru.core.participant.edit.freetransport.wrong" /> |
</field> |
<field property="freeSleep" depends="integer"> |
<msg name="integer" key="ak.itru.core.participant.edit.freesleep.wrong" /> |
</field> |
</form> |
</formset> |
</form-validation> |
/it-ru/trunk/webapp/admin/participant/edit.jsp |
---|
0,0 → 1,116 |
<%@ page contentType="text/html;charset=UTF-8" language="java" %> |
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> |
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> |
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> |
<%@ taglib uri="/WEB-INF/ak-backpath.tld" prefix="backpath" %> |
<%@ taglib uri="/WEB-INF/ak-strutsx.tld" prefix="strutsx" %> |
<html> |
<head> |
<meta http-equiv="expires" content="0"> |
<title>Edit participant</title> |
<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
</head> |
<body> |
<h1>Edit participant</h1> |
<strutsx:errorsIterator id="errors" /> |
<strutsx:notEmpty name="errors"> |
<div class="error">Errors in input: |
<ul> |
<logic:iterate name="errors" id="error"> |
<li><strutsx:message name="error" property="key" valuesProperty="values" /></li> |
</logic:iterate> |
</ul> |
</div> |
</strutsx:notEmpty> |
<html:form action="/admin/participant/submit"> |
<backpath:current /> |
<html:hidden property="id" /> |
<html:hidden property="event" /> |
<table border=1> |
<tr> |
<th>Ident</th> |
<td><bean:write name="participant" property="ident" /></td> |
</tr> |
<tr> |
<th>Nick</th> |
<td><html:text property="nick" /></td> |
</tr> |
<tr> |
<th>Email</th> |
<td><html:text property="email" /></td> |
</tr> |
<tr> |
<th>Email is public</th> |
<td colspan=3><html:checkbox property="emailPublic" /></td> |
</tr> |
<tr> |
<th>Name</th> |
<td><html:text property="name" /></td> |
</tr> |
<tr> |
<th>Phone</th> |
<td><html:text property="phone" /></td> |
</tr> |
<tr> |
<th>Persons</th> |
<td><html:text property="persons" /></td> |
</tr> |
<tr> |
<th>From ZIP</th> |
<td><html:text property="fromZip" /></td> |
</tr> |
<tr> |
<th>From city</th> |
<td><html:text property="fromCity" /></td> |
</tr> |
<tr> |
<th>Departure</th> |
<td><html:text property="departure" /></td> |
</tr> |
<tr> |
<th>Free places in transport</th> |
<td><html:text property="freeTransport" /></td> |
</tr> |
<tr> |
<th>Comment to free places in transport</th> |
<td><html:textarea property="transportComment" /></td> |
</tr> |
<tr> |
<th>Free places to sleep</th> |
<td><html:text property="freeSleep" /></td> |
</tr> |
<tr> |
<th>Comment to free places to sleep</th> |
<td><html:textarea property="sleepComment" /></td> |
</tr> |
<tr> |
<th>Comment</th> |
<td><html:textarea property="comment" /></td> |
</tr> |
<tr> |
<th>Payed</th> |
<td colspan=3><html:checkbox property="payed" /></td> |
</tr> |
<tr> |
<th>Private comment</th> |
<td><html:textarea property="privateComment" /></td> |
</tr> |
<tr> |
<td colspan=2> |
<html:submit>Submit</html:submit> |
<backpath:backlink>Back</backpath:backlink> |
</td> |
</tr> |
</table> |
</html:form> |
</body> |
</html> |
/it-ru/trunk/webapp/admin/participant/list.jsp |
---|
0,0 → 1,70 |
<%@ page contentType="text/html;charset=UTF-8" language="java" %> |
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> |
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> |
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> |
<%@ taglib uri="/WEB-INF/ak-backpath.tld" prefix="backpath" %> |
<%@ taglib uri="/WEB-INF/ak-strutsx.tld" prefix="strutsx" %> |
<%@ taglib uri="/WEB-INF/ak-itru.tld" prefix="itru" %> |
<html> |
<head> |
<meta http-equiv="expires" content="0"> |
<title>Participants</title> |
<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
</head> |
<body> |
<h1>Participants of <bean:write name="event" property="name" /></h1> |
<strutsx:errorsIterator id="errors" /> |
<strutsx:notEmpty name="errors"> |
<div class="error">Errors in input: |
<ul> |
<logic:iterate name="errors" id="error"> |
<li><strutsx:message name="error" property="key" valuesProperty="values" /></li> |
</logic:iterate> |
</ul> |
</div> |
</strutsx:notEmpty> |
<table border=1> |
<tr> |
<th>Ident</th> |
<th>Nick</th> |
<th>Email</th> |
<th>Name</th> |
<th>Persons</th> |
<th>Payed</th> |
<th> </th> |
<th> </th> |
</tr> |
<logic:iterate name="participants" id="p"> |
<tr> |
<td><bean:write name="p" property="ident" /></td> |
<td><bean:write name="p" property="nick" /> </td> |
<td><bean:write name="p" property="email" /> </td> |
<td><bean:write name="p" property="name" /> </td> |
<td><bean:write name="p" property="persons" /> </td> |
<td> |
<logic:equal name="p" property="payed" value="true">x</logic:equal> |
<logic:notEqual name="p" property="payed" value="true"> </logic:notEqual> |
</td> |
<td> |
<itru:link action="/admin/participant/edit" paramId="id" paramName="p" paramProperty="id" paramId2="event" paramName2="event" paramProperty2="id">edit</itru:link> |
</td> |
<td> |
<backpath:link action="/admin/participant/delete" paramId="id" paramName="p" paramProperty="id">delete</backpath:link> |
</td> |
</tr> |
</logic:iterate> |
</table> |
<backpath:link action="/admin/participant/edit" paramId="event" paramName="event" paramProperty="id">Add new participant</backpath:link> |
<br> |
<backpath:backlink>Back</backpath:backlink> |
</body> |
</html> |
/it-ru/trunk/webapp/admin/event/list.jsp |
---|
36,6 → 36,7 |
<th>Enabled</th> |
<th> </th> |
<th> </th> |
<th> </th> |
</tr> |
<logic:iterate name="events" id="e"> |
42,8 → 43,8 |
<tr> |
<td><bean:write name="e" property="name" /></td> |
<td><bean:write name="e" property="place" /> </td> |
<td><bean:write name="e" property="start" /> </td> |
<td><bean:write name="e" property="stop" /> </td> |
<td><bean:write name="e" property="start" format="dd.MM.yyyy" /> </td> |
<td><bean:write name="e" property="stop" format="dd.MM.yyyy" /> </td> |
<td> |
<logic:equal name="e" property="enabled" value="true">x</logic:equal> |
<logic:notEqual name="e" property="enabled" value="true"> </logic:notEqual> |
54,6 → 55,9 |
<td> |
<backpath:link action="/admin/event/delete" paramId="id" paramName="e" paramProperty="id">delete</backpath:link> |
</td> |
<td> |
<backpath:link action="/admin/participant/list" paramId="event" paramName="e" paramProperty="id">participants</backpath:link> |
</td> |
</tr> |
</logic:iterate> |
</table> |
/it-ru/trunk/webapp/admin/event/edit.jsp |
---|
34,65 → 34,97 |
<table border=1> |
<tr> |
<th>Name</th> |
<td><html:text property="name" /></td> |
<td colspan=3><html:text property="name" /></td> |
</tr> |
<tr> |
<th>Place</th> |
<td><html:text property="place" /></td> |
<td colspan=3><html:text property="place" /></td> |
</tr> |
<tr> |
<th>Address</th> |
<td><html:textarea property="address" /></td> |
<td colspan=3><html:textarea property="address" /></td> |
</tr> |
<tr> |
<th>Transport Description</th> |
<td><html:textarea property="transport" /></td> |
<td colspan=3><html:textarea property="transport" /></td> |
</tr> |
<tr> |
<th>Start</th> |
<td><html:text property="start" /></td> |
<td colspan=3><html:text property="start" /></td> |
</tr> |
<tr> |
<th>Stop</th> |
<td><html:text property="stop" /></td> |
<td colspan=3><html:text property="stop" /></td> |
</tr> |
<tr> |
<th>Last registration</th> |
<td><html:text property="lastreg" /></td> |
<td colspan=3><html:text property="lastreg" /></td> |
</tr> |
<tr> |
<th>Last unregistration</th> |
<td><html:text property="lastunreg" /></td> |
<td colspan=3><html:text property="lastunreg" /></td> |
</tr> |
<tr> |
<th>Price per person</th> |
<td><html:text property="price" /></td> |
<td colspan=3><html:text property="price" /></td> |
</tr> |
<tr> |
<th>Account to transfer money</th> |
<td><html:textarea property="account" /></td> |
<td colspan=3><html:textarea property="account" /></td> |
</tr> |
<tr> |
<th>Enabled</th> |
<td><html:checkbox property="enabled" /></td> |
<td colspan=3><html:checkbox property="enabled" /></td> |
</tr> |
<tr> |
<th>Comment</th> |
<td><html:textarea property="comment" /></td> |
<td colspan=3><html:textarea property="comment" /></td> |
</tr> |
<tr> |
<th colspan=4>Acts for the event</th> |
</tr> |
<tr> |
<td>Name</td> |
<td>Include</td> |
<td>Comment</td> |
<td> </td> |
</tr> |
<logic:iterate name="EventEditForm" property="acts" id="acts" indexId="iid"> |
<tr> |
<td> |
<th> |
<bean:write name="actList" property='<%= "objects[" + iid + "].name" %>' /> |
<html:hidden name="acts" property="actId" indexed="true" /> |
<html:checkbox name="acts" property="selected" indexed="true" /> |
</td> |
</th> |
<td><html:checkbox name="acts" property="selected" indexed="true" /></td> |
<td><html:text name="acts" property="comment" indexed="true" /></td> |
<td> </td> |
</tr> |
</logic:iterate> |
<tr> |
<th colspan=4>Apartment for the event</th> |
</tr> |
<tr> |
<td>Name</td> |
<td>Include</td> |
<td>Comment</td> |
<td>Distance</td> |
</tr> |
<logic:iterate name="EventEditForm" property="apartments" id="apartments" indexId="iid2"> |
<tr> |
<th> |
<bean:write name="apartmentList" property='<%= "objects[" + iid2 + "].name" %>' /> |
<html:hidden name="apartments" property="apartmentId" indexed="true" /> |
</th> |
<td><html:checkbox name="apartments" property="selected" indexed="true" /></td> |
<td><html:text name="apartments" property="comment" indexed="true" /></td> |
<td><html:text name="apartments" property="distance" indexed="true" /></td> |
</tr> |
</logic:iterate> |
<tr> |
<td colspan=2> |
<td colspan=4> |
<html:submit>Submit</html:submit> |
<backpath:backlink>Back</backpath:backlink> |
</td> |