Subversion Repositories general

Compare Revisions

Ignore whitespace Rev 957 → Rev 958

/sun/hostadmiral/trunk/doc/todo.txt
33,7 → 33,7
Different user name schemes, not only user@domain. Define an interface to allow admin
implement an own one. Implement a few common ones.
 
Taglig to show ActionMessages in right way (add it to the StrutsX project).
+ Taglig to show ActionMessages in right way (add it to the StrutsX project).
 
Allow to use existing system users: enter uid or name only, check in system for full
information.
/sun/hostadmiral/trunk/src/ak/strutsx/taglib/EmptyTag.java
0,0 → 1,56
/**
* Extends and based on Apache Struts source code.
*
* Copyleft Anatoli Klassen (anatoli@aksoft.net)
*/
package ak.strutsx.taglib;
 
import java.util.Iterator;
import java.util.Collection;
import java.util.Map;
import javax.servlet.jsp.JspException;
import org.apache.struts.util.RequestUtils;
import org.apache.struts.taglib.logic.ConditionalTagBase;
 
public class EmptyTag
extends ConditionalTagBase
{
protected boolean condition()
throws JspException
{
return condition(true);
}
 
protected boolean condition(boolean desired)
throws JspException
{
if(this.name == null) {
JspException e = new JspException(messages.getMessage("empty.noNameAttribute"));
RequestUtils.saveException(pageContext, e);
throw e;
}
 
boolean empty = true;
 
Object value = null;
if(this.property == null)
value = RequestUtils.lookup(pageContext, name, scope);
else
value = RequestUtils.lookup(pageContext, name, property, scope);
 
if(value != null) {
if(value instanceof String)
empty = (((String)value).length() < 1);
else if(value instanceof Collection)
empty = ((Collection)value).isEmpty();
else if(value instanceof Map)
empty = ((Map)value).isEmpty();
else if(value instanceof Iterator)
empty = !((Iterator)value).hasNext();
else
empty = false;
}
 
return (empty == desired);
}
}
/sun/hostadmiral/trunk/src/ak/strutsx/taglib/NotEmptyTag.java
0,0 → 1,18
/**
* Extends and based on Apache Struts source code.
*
* Copyleft Anatoli Klassen (anatoli@aksoft.net)
*/
package ak.strutsx.taglib;
 
import javax.servlet.jsp.JspException;
 
public class NotEmptyTag
extends EmptyTag
{
protected boolean condition()
throws JspException
{
return condition(false);
}
}
/sun/hostadmiral/trunk/src/ak/strutsx/taglib/RootTag.java
0,0 → 1,37
/**
* Extends and based on Apache Struts source code.
*
* Copyleft Anatoli Klassen (anatoli@aksoft.net)
*/
package ak.strutsx.taglib;
 
import java.io.IOException;
 
import javax.servlet.http.HttpServletRequest;
import javax.servlet.jsp.JspException;
import javax.servlet.jsp.JspWriter;
import javax.servlet.jsp.PageContext;
import javax.servlet.jsp.tagext.TagSupport;
 
import org.apache.struts.Globals;
import org.apache.struts.util.MessageResources;
import org.apache.struts.util.RequestUtils;
 
public class RootTag
extends TagSupport
{
public int doStartTag()
throws JspException
{
HttpServletRequest request = (HttpServletRequest)pageContext.getRequest();
 
try {
pageContext.getOut().write(request.getContextPath());
}
catch(IOException ex) {
throw new JspException("Cannot write to output" + ex);
}
 
return EVAL_BODY_INCLUDE;
}
}
/sun/hostadmiral/trunk/src/ak/strutsx/taglib/MessageTag.java
0,0 → 1,91
/**
* Extends and based on Apache Struts source code.
*
* Copyleft Anatoli Klassen (anatoli@aksoft.net)
*/
package ak.strutsx.taglib;
 
import java.util.Locale;
 
import javax.servlet.jsp.JspException;
import javax.servlet.jsp.tagext.TagSupport;
 
import org.apache.struts.Globals;
import org.apache.struts.util.MessageResources;
import org.apache.struts.util.RequestUtils;
import org.apache.struts.util.ResponseUtils;
 
public class MessageTag
extends org.apache.struts.taglib.bean.MessageTag
{
protected String valuesName = null;
 
public String getValuesName()
{
return this.valuesName;
}
 
public void setValuesName(String valuesName)
{
this.valuesName = valuesName;
}
 
protected String valuesProperty = null;
 
public String getValuesProperty()
{
return this.valuesProperty;
}
 
public void setValuesProperty(String valuesProperty)
{
this.valuesProperty = valuesProperty;
}
 
public int doStartTag()
throws JspException
{
String key = this.key;
if(key == null) {
Object value = RequestUtils.lookup(pageContext, name, property, scope);
if(value != null && !(value instanceof String)) {
JspException e = new JspException(messages.getMessage("message.property", key));
RequestUtils.saveException(pageContext, e);
throw e;
}
key = (String)value;
}
 
Object[] values = null;
if(valuesName != null || valuesProperty != null) {
Object valuesObj = RequestUtils.lookup(pageContext,
(valuesName == null) ? name : valuesName, valuesProperty, scope);
if(valuesObj != null && !(valuesObj instanceof Object[])) {
JspException e = new JspException("Properties are not an array");
RequestUtils.saveException(pageContext, e);
throw e;
}
values = (Object[])valuesObj;
}
 
String message = RequestUtils.message(pageContext, this.bundle,
this.localeKey, key, values);
 
if(message == null) {
JspException e = new JspException
(messages.getMessage("message.message", "\"" + key + "\""));
RequestUtils.saveException(pageContext, e);
throw e;
}
 
ResponseUtils.write(pageContext, message);
return SKIP_BODY;
}
 
public void release()
{
super.release();
valuesName = null;
valuesProperty = null;
}
}
/sun/hostadmiral/trunk/src/ak/strutsx/taglib/ErrorsIteratorTag.java
0,0 → 1,46
/**
* Extends and based on Apache Struts source code.
*
* Copyleft Anatoli Klassen (anatoli@aksoft.net)
*/
package ak.strutsx.taglib;
 
import javax.servlet.jsp.JspException;
 
import org.apache.struts.action.ActionErrors;
import org.apache.struts.taglib.html.ErrorsTag;
import org.apache.struts.util.RequestUtils;
 
public class ErrorsIteratorTag
extends ErrorsTag
{
protected String id = null;
 
public String getId()
{
return this.id;
}
 
public void setId(String id)
{
this.id = id;
}
 
public int doStartTag()
throws JspException
{
ActionErrors errors = RequestUtils.getActionErrors(pageContext, name);
 
if(errors != null)
pageContext.setAttribute(id, (property == null) ? errors.get() : errors.get(property));
 
return EVAL_BODY_INCLUDE;
}
 
public void release()
{
super.release();
 
id = null;
}
}
/sun/hostadmiral/trunk/src/ak/hostadmiral/core/action/SystemUserAction.java
62,7 → 62,7
Long userId = StringConverter.parseLong(theForm.get("id"));
SystemUser u;
DynaActionForm showForm = (DynaActionForm)RequestUtilsX.populateActionForm(
this, request, "ak.hostadmiral.core.form.SystemUserEditForm");
this, request, "SystemUserEditForm");
 
if(userId == null) {
u = SystemUserManager.getInstance().create(user);
/sun/hostadmiral/trunk/src/ak/hostadmiral/core/action/InetDomainAction.java
62,7 → 62,7
Long domainId = StringConverter.parseLong(theForm.get("id"));
InetDomain domain;
DynaActionForm showForm = (DynaActionForm)RequestUtilsX.populateActionForm(
this, request, "ak.hostadmiral.core.form.InetDomainEditForm");
this, request, "InetDomainEditForm");
 
if(domainId == null) {
domain = InetDomainManager.getInstance().create(user);
/sun/hostadmiral/trunk/src/ak/hostadmiral/core/action/MailboxAction.java
63,7 → 63,7
Long boxId = StringConverter.parseLong(theForm.get("id"));
Mailbox mailbox;
DynaActionForm showForm = (DynaActionForm)RequestUtilsX.populateActionForm(
this, request, "ak.hostadmiral.core.form.MailboxEditForm");
this, request, "MailboxEditForm");
 
if(boxId == null) {
mailbox = MailboxManager.getInstance().create(user);
/sun/hostadmiral/trunk/src/ak/hostadmiral/core/action/MailAliasAction.java
72,7 → 72,7
List dests;
 
DynaActionForm showForm = (DynaActionForm)RequestUtilsX.populateActionForm(
this, request, "ak.hostadmiral.core.form.MailAliasEditForm");
this, request, "MailAliasEditForm");
 
if(aliasId == null) {
alias = MailAliasManager.getInstance().create(user);
/sun/hostadmiral/trunk/src/ak/hostadmiral/core/action/UserAction.java
77,7 → 77,7
Long userId = StringConverter.parseLong(theForm.get("id"));
User u;
DynaActionForm showForm = (DynaActionForm)RequestUtilsX.populateActionForm(
this, request, "ak.hostadmiral.core.form.UserEditForm");
this, request, "UserEditForm");
 
if(userId == null) {
u = UserManager.getInstance().create(user);
106,7 → 106,7
Long userId = StringConverter.parseLong(theForm.get("id"));
User u = UserManager.getInstance().get(user, userId);
DynaActionForm showForm = (DynaActionForm)RequestUtilsX.populateActionForm(
this, request, "ak.hostadmiral.core.form.UserPartEditForm");
this, request, "UserPartEditForm");
 
showForm.set("locale", u.getLocale().toString());
initUserList(request, user);
/sun/hostadmiral/trunk/src/ak/hostadmiral/core/CoreResources.properties
57,6 → 57,8
 
ak.hostadmiral.core.mail.alias.edit.id.wrong=Please select an alias from the list
 
ak.hostadmiral.page.general.errors=There are errors in you input
 
ak.hostadmiral.page.error.title=Host Admiral - error
ak.hostadmiral.page.error.back=back
 
339,3 → 341,5
ak.hostadmiral.page.mail.alias.view.header.comment=Comment
ak.hostadmiral.page.mail.alias.view.external=external redirect
ak.hostadmiral.page.mail.alias.view.back=back
 
org.apache.struts.taglib.bean.format.sql.timestamp=dd-MM-yyyy HH:mm:ss.SSS
/sun/hostadmiral/trunk/src/ak/hostadmiral/core/CoreResources_ru.properties
0,0 → 1,4

ak.hostadmiral.page.index.title=Начальник Камчатки
 
org.apache.struts.taglib.bean.format.sql.timestamp=dd MMM yyyy HH:mm:ss.SSS
/sun/hostadmiral/trunk/build.xml
76,11 → 76,6
 
<copy todir="${classes.deploy}">
<fileset
dir="${src}"
includes="**/*.properties"
excludes="**/*_*.properties"
/>
<fileset
dir="${classes}"
includes="**/*.xml"
/>
93,24 → 88,13
/>
</copy>
 
<delete>
<fileset dir="${classes.deploy}" includes="**/*_*.properties" />
</delete>
 
<native2ascii
encoding="Cp1251"
encoding="UTF8"
src="${src}"
dest="${classes.deploy}"
includes="**/*_ru.properties"
includes="**/*.properties"
/>
 
<native2ascii
encoding="ISO8859_1"
src="${src}"
dest="${classes.deploy}"
includes="**/*_de.properties"
/>
 
<copy todir="${classes.deploy}" file="${conf}/log4j.properties" />
<copy todir="${classes.deploy}" file="${conf}/hibernate.cfg.xml" />
 
/sun/hostadmiral/trunk/webapp/generalError.jsp
3,6 → 3,7
<%@ 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/hostadmiral-core.tld" prefix="core" %>
<html>
 
9,6 → 10,7
<head>
<meta http-equiv="expires" content="0">
<title><bean:message key="ak.hostadmiral.page.generalError.title" /></title>
<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
</head>
 
<body>
/sun/hostadmiral/trunk/webapp/index.jsp
3,6 → 3,7
<%@ 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/hostadmiral-core.tld" prefix="core" %>
<html>
 
9,6 → 10,7
<head>
<meta http-equiv="expires" content="0">
<title><bean:message key="ak.hostadmiral.page.index.title" /></title>
<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
</head>
 
<body>
/sun/hostadmiral/trunk/webapp/mail/box/view.jsp
3,6 → 3,7
<%@ 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/hostadmiral-core.tld" prefix="core" %>
<html>
 
9,6 → 10,7
<head>
<meta http-equiv="expires" content="0">
<title><bean:message key="ak.hostadmiral.page.mail.box.view.title" /></title>
<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
</head>
 
<body>
15,7 → 17,16
 
<h1><bean:message key="ak.hostadmiral.page.mail.box.view.title" /></h1>
 
<html:errors/>
<strutsx:errorsIterator id="errors" />
<strutsx:notEmpty name="errors">
<div class="error"><bean:message key="ak.hostadmiral.page.general.errors" />:
<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>
/sun/hostadmiral/trunk/webapp/mail/box/list.jsp
3,6 → 3,7
<%@ 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/hostadmiral-core.tld" prefix="core" %>
<html>
 
9,6 → 10,7
<head>
<meta http-equiv="expires" content="0">
<title><bean:message key="ak.hostadmiral.page.mail.box.list.title" /></title>
<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
</head>
 
<body>
15,7 → 17,16
 
<h1><bean:message key="ak.hostadmiral.page.mail.box.list.title" /></h1>
 
<html:errors/>
<strutsx:errorsIterator id="errors" />
<strutsx:notEmpty name="errors">
<div class="error"><bean:message key="ak.hostadmiral.page.general.errors" />:
<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>
/sun/hostadmiral/trunk/webapp/mail/box/edit.jsp
3,6 → 3,7
<%@ 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/hostadmiral-core.tld" prefix="core" %>
<html>
 
9,6 → 10,7
<head>
<meta http-equiv="expires" content="0">
<title><bean:message key="ak.hostadmiral.page.mail.box.edit.title" /></title>
<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
</head>
 
<body>
15,7 → 17,16
 
<h1><bean:message key="ak.hostadmiral.page.mail.box.edit.title" /></h1>
 
<html:errors/>
<strutsx:errorsIterator id="errors" />
<strutsx:notEmpty name="errors">
<div class="error"><bean:message key="ak.hostadmiral.page.general.errors" />:
<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="/mail/box/submit">
<backpath:current />
/sun/hostadmiral/trunk/webapp/mail/alias/edit.jsp
3,6 → 3,7
<%@ 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/hostadmiral-core.tld" prefix="core" %>
<html>
 
9,6 → 10,7
<head>
<meta http-equiv="expires" content="0">
<title><bean:message key="ak.hostadmiral.page.mail.alias.edit.title" /></title>
<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
<script>
function submitForm()
{
61,7 → 63,16
 
<h1><bean:message key="ak.hostadmiral.page.mail.alias.edit.title" /></h1>
 
<html:errors/>
<strutsx:errorsIterator id="errors" />
<strutsx:notEmpty name="errors">
<div class="error"><bean:message key="ak.hostadmiral.page.general.errors" />:
<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="/mail/alias/submit" onsubmit="submitForm()">
<backpath:current/>
122,7 → 133,7
<th>&nbsp;</th>
</tr>
 
<logic:iterate name="ak.hostadmiral.core.form.MailAliasEditForm" property="dests" id="dests" indexId="iid">
<logic:iterate name="MailAliasEditForm" property="dests" id="dests" indexId="iid">
<tr>
<td>
<html:hidden name="dests" property="id" indexed="true" />
/sun/hostadmiral/trunk/webapp/mail/alias/editdests.jsp
3,6 → 3,7
<%@ 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/hostadmiral-core.tld" prefix="core" %>
<html>
 
9,6 → 10,7
<head>
<meta http-equiv="expires" content="0">
<title><bean:message key="ak.hostadmiral.page.mail.alias.editdest.title" /></title>
<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
<script>
function submitForm()
{
61,7 → 63,16
 
<h1><bean:message key="ak.hostadmiral.page.mail.alias.editdest.title" /></h1>
 
<html:errors/>
<strutsx:errorsIterator id="errors" />
<strutsx:notEmpty name="errors">
<div class="error"><bean:message key="ak.hostadmiral.page.general.errors" />:
<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="/mail/alias/submit" onsubmit="submitForm()">
<backpath:current/>
119,7 → 130,7
<th>&nbsp;</th>
</tr>
 
<logic:iterate name="ak.hostadmiral.core.form.MailAliasEditForm" property="dests" id="dests" indexId="iid">
<logic:iterate name="MailAliasEditForm" property="dests" id="dests" indexId="iid">
<tr>
<td>
<html:hidden name="dests" property="id" indexed="true" />
/sun/hostadmiral/trunk/webapp/mail/alias/view.jsp
3,6 → 3,7
<%@ 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/hostadmiral-core.tld" prefix="core" %>
<html>
 
9,6 → 10,7
<head>
<meta http-equiv="expires" content="0">
<title><bean:message key="ak.hostadmiral.page.mail.alias.view.title" /></title>
<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
</head>
 
<body>
17,7 → 19,16
 
<h2>FIXME: NOT IMPLEMENTED. DO WE REALLY NEED IT?</h2>
 
<html:errors/>
<strutsx:errorsIterator id="errors" />
<strutsx:notEmpty name="errors">
<div class="error"><bean:message key="ak.hostadmiral.page.general.errors" />:
<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>
/sun/hostadmiral/trunk/webapp/mail/alias/list.jsp
3,6 → 3,7
<%@ 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/hostadmiral-core.tld" prefix="core" %>
<html>
 
9,6 → 10,7
<head>
<meta http-equiv="expires" content="0">
<title><bean:message key="ak.hostadmiral.page.mail.alias.list.title" /></title>
<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
</head>
 
<body>
15,7 → 17,16
 
<h1><bean:message key="ak.hostadmiral.page.mail.alias.list.title" /></h1>
 
<html:errors/>
<strutsx:errorsIterator id="errors" />
<strutsx:notEmpty name="errors">
<div class="error"><bean:message key="ak.hostadmiral.page.general.errors" />:
<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>
/sun/hostadmiral/trunk/webapp/error.jsp
3,6 → 3,7
<%@ 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/hostadmiral-core.tld" prefix="core" %>
<html>
 
9,6 → 10,7
<head>
<meta http-equiv="expires" content="0">
<title><bean:message key="ak.hostadmiral.page.error.title" /></title>
<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
</head>
 
<body>
15,7 → 17,16
 
<h1><bean:message key="ak.hostadmiral.page.error.title" /></h1>
 
<html:errors/>
<strutsx:errorsIterator id="errors" />
<strutsx:notEmpty name="errors">
<div class="error"><bean:message key="ak.hostadmiral.page.general.errors" />:
<ul>
<logic:iterate name="errors" id="error">
<li><strutsx:message name="error" property="key" valuesProperty="values" /></li>
</logic:iterate>
</ul>
</div>
</strutsx:notEmpty>
 
<br>
<backpath:backlink><bean:message key="ak.hostadmiral.page.error.back" /></backpath:backlink>
/sun/hostadmiral/trunk/webapp/system/login.jsp
1,8 → 1,9
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ 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/hostadmiral-core.tld" prefix="core" %>
<html>
 
9,6 → 10,7
<head>
<meta http-equiv="expires" content="0">
<title><bean:message key="ak.hostadmiral.page.system.login.title" /></title>
<link rel="stylesheet" type="text/css" href="<strutsx:root />/system/general.css">
</head>
 
<body>
15,9 → 17,18
 
<h1><bean:message key="ak.hostadmiral.page.system.login.title" /></h1>
 
<html:errors/>
<strutsx:errorsIterator id="errors" />
<strutsx:notEmpty name="errors">
<div class="error"><bean:message key="ak.hostadmiral.page.general.errors" />:
<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="/system/login/submit" focus="username">
<html:form action="/system/login/submit" focus="login" onsubmit="return validateLoginForm(this);">
<backpath:current />
<table border=1>
<tr>
51,6 → 62,8
</table>
</html:form>
 
<html:javascript formName="LoginForm" />
 
</body>
 
</html>
/sun/hostadmiral/trunk/webapp/system/logout.jsp
3,6 → 3,7
<%@ 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/hostadmiral-core.tld" prefix="core" %>
<html>
 
9,6 → 10,7
<head>
<meta http-equiv="expires" content="0">
<title><bean:message key="ak.hostadmiral.page.system.logout.title" /></title>
<link rel="stylesheet" type="text/css" href="<strutsx:root />/system/general.css">
</head>
 
<body>
15,7 → 17,16
 
<h1><bean:message key="ak.hostadmiral.page.system.logout.title" /></h1>
 
<html:errors/>
<strutsx:errorsIterator id="errors" />
<strutsx:notEmpty name="errors">
<div class="error"><bean:message key="ak.hostadmiral.page.general.errors" />:
<ul>
<logic:iterate name="errors" id="error">
<li><strutsx:message name="error" property="key" valuesProperty="values" /></li>
</logic:iterate>
</ul>
</div>
</strutsx:notEmpty>
 
<p><bean:message key="ak.hostadmiral.page.system.logout.message" /></p>
 
/sun/hostadmiral/trunk/webapp/system/general.css
0,0 → 1,0
.error {color:red;}
/sun/hostadmiral/trunk/webapp/deleting.jsp
1,9 → 1,10
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page import="java.util.*,ak.hostadmiral.core.model.*" %>
<%@ 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/hostadmiral-core.tld" prefix="core" %>
<html>
 
10,6 → 11,7
<head>
<meta http-equiv="expires" content="0">
<title><bean:message key="ak.hostadmiral.page.index.title" /></title>
<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
</head>
 
<body>
18,7 → 20,6
 
<p>Object: <bean:write name="object" property="identKey" /></p>
<p>Action: <bean:write name="action" /></p>
<p>Cascade: <bean:write name="cascade" /></p>
 
<ul>
<%
28,7 → 29,20
CascadeDeleteElement e = (CascadeDeleteElement)i.next();
pageContext.setAttribute("e", e);
 
%><li><bean:write name="e" property="object.identKey" /></li><%
%><li>
<logic:equal name="e" property="effect" value="1">
FORBIDDEN
</logic:equal>
<logic:equal name="e" property="effect" value="2">
delete
</logic:equal>
<logic:equal name="e" property="effect" value="3">
change
</logic:equal>
<strutsx:message name="e" property="object.typeKey" />
<em><strutsx:message name="e" property="object.identKey" valuesProperty="object.identParams" /></em>
<bean:write name="e" property="cascade" />
</li><%
}
%>
</ul>
/sun/hostadmiral/trunk/webapp/WEB-INF/struts-config.xml
7,7 → 7,7
<struts-config>
<form-beans>
<form-bean
name="ak.hostadmiral.core.form.LoginForm"
name="LoginForm"
type="org.apache.struts.validator.DynaValidatorForm">
<form-property name="login" type="java.lang.String" />
<form-property name="password" type="java.lang.String" />
14,7 → 14,7
</form-bean>
 
<form-bean
name="ak.hostadmiral.core.form.ChangePasswordForm"
name="ChangePasswordForm"
type="ak.hostadmiral.core.form.UserPasswordForm">
<form-property name="oldpassword" type="java.lang.String" />
<form-property name="password" type="java.lang.String" />
22,19 → 22,19
</form-bean>
 
<form-bean
name="ak.hostadmiral.core.form.UserForm"
name="UserForm"
type="org.apache.struts.validator.DynaValidatorForm">
<form-property name="id" type="java.lang.String" />
</form-bean>
 
<form-bean
name="ak.hostadmiral.core.form.UserLoginsForm"
name="UserLoginsForm"
type="org.apache.struts.validator.DynaValidatorForm">
<form-property name="id" type="java.lang.String" />
</form-bean>
 
<form-bean
name="ak.hostadmiral.core.form.UserEditForm"
name="UserEditForm"
type="ak.hostadmiral.core.form.UserPasswordForm">
<form-property name="id" type="java.lang.String" />
<form-property name="login" type="java.lang.String" />
48,7 → 48,7
</form-bean>
 
<form-bean
name="ak.hostadmiral.core.form.UserPartEditForm"
name="UserPartEditForm"
type="org.apache.struts.validator.DynaValidatorForm">
<form-property name="id" type="java.lang.String" />
<form-property name="locale" type="java.lang.String" />
55,13 → 55,13
</form-bean>
 
<form-bean
name="ak.hostadmiral.core.form.SystemUserForm"
name="SystemUserForm"
type="org.apache.struts.validator.DynaValidatorForm">
<form-property name="id" type="java.lang.String" />
</form-bean>
 
<form-bean
name="ak.hostadmiral.core.form.SystemUserEditForm"
name="SystemUserEditForm"
type="org.apache.struts.validator.DynaValidatorForm">
<form-property name="id" type="java.lang.String" />
<form-property name="uid" type="java.lang.String" />
72,13 → 72,13
</form-bean>
 
<form-bean
name="ak.hostadmiral.core.form.InetDomainForm"
name="InetDomainForm"
type="org.apache.struts.validator.DynaValidatorForm">
<form-property name="id" type="java.lang.String" />
</form-bean>
 
<form-bean
name="ak.hostadmiral.core.form.InetDomainEditForm"
name="InetDomainEditForm"
type="org.apache.struts.validator.DynaValidatorForm">
<form-property name="id" type="java.lang.String" />
<form-property name="name" type="java.lang.String" />
88,13 → 88,13
</form-bean>
 
<form-bean
name="ak.hostadmiral.core.form.MailboxForm"
name="MailboxForm"
type="org.apache.struts.validator.DynaValidatorForm">
<form-property name="id" type="java.lang.String" />
</form-bean>
 
<form-bean
name="ak.hostadmiral.core.form.MailboxEditForm"
name="MailboxEditForm"
type="ak.hostadmiral.core.form.UserPasswordForm">
<form-property name="id" type="java.lang.String" />
<form-property name="login" type="java.lang.String" />
110,13 → 110,13
</form-bean>
 
<form-bean
name="ak.hostadmiral.core.form.MailAliasForm"
name="MailAliasForm"
type="org.apache.struts.validator.DynaValidatorForm">
<form-property name="id" type="java.lang.String" />
</form-bean>
 
<form-bean
name="ak.hostadmiral.core.form.MailAliasEditForm"
name="MailAliasEditForm"
type="ak.strutsx.ResizeableDynaValidatorForm">
<form-property name="id" type="java.lang.String" />
<form-property name="address" type="java.lang.String" />
168,7 → 168,7
<action
path="/system/login/submit"
type="ak.hostadmiral.core.action.LoginAction"
name="ak.hostadmiral.core.form.LoginForm"
name="LoginForm"
validate="true"
scope="request"
input="/system/login.jsp"
197,7 → 197,7
path="/user/password/submit"
type="ak.hostadmiral.core.action.ChangePasswordAction"
parameter="submit"
name="ak.hostadmiral.core.form.ChangePasswordForm"
name="ChangePasswordForm"
validate="true"
scope="request"
input="/user/password/change.jsp"
207,7 → 207,7
<action
path="/user/logins"
type="ak.hostadmiral.core.action.UserLoginsAction"
name="ak.hostadmiral.core.form.UserLoginsForm"
name="UserLoginsForm"
validate="true"
scope="request"
>
233,7 → 233,7
path="/user/deleting"
type="ak.hostadmiral.core.action.UserAction"
parameter="deleting"
name="ak.hostadmiral.core.form.UserForm"
name="UserForm"
validate="true"
scope="request"
>
244,7 → 244,7
path="/user/delete"
type="ak.hostadmiral.core.action.UserAction"
parameter="delete"
name="ak.hostadmiral.core.form.UserForm"
name="UserForm"
validate="true"
scope="request"
>
254,7 → 254,7
path="/user/edit"
type="ak.hostadmiral.core.action.UserAction"
parameter="edit"
name="ak.hostadmiral.core.form.UserForm"
name="UserForm"
validate="true"
scope="request"
>
266,7 → 266,7
path="/user/submit"
type="ak.hostadmiral.core.action.UserAction"
parameter="submit"
name="ak.hostadmiral.core.form.UserEditForm"
name="UserEditForm"
validate="true"
scope="request"
input="/user/edit.jsp"
277,7 → 277,7
path="/user/partedit"
type="ak.hostadmiral.core.action.UserAction"
parameter="partedit"
name="ak.hostadmiral.core.form.UserForm"
name="UserForm"
validate="true"
scope="request"
>
288,7 → 288,7
path="/user/partsubmit"
type="ak.hostadmiral.core.action.UserAction"
parameter="partsubmit"
name="ak.hostadmiral.core.form.UserPartEditForm"
name="UserPartEditForm"
validate="true"
scope="request"
input="/user/partedit.jsp"
309,7 → 309,7
path="/user/system/delete"
type="ak.hostadmiral.core.action.SystemUserAction"
parameter="delete"
name="ak.hostadmiral.core.form.SystemUserForm"
name="SystemUserForm"
validate="true"
scope="request"
>
319,7 → 319,7
path="/user/system/edit"
type="ak.hostadmiral.core.action.SystemUserAction"
parameter="edit"
name="ak.hostadmiral.core.form.SystemUserForm"
name="SystemUserForm"
validate="true"
scope="request"
>
331,7 → 331,7
path="/user/system/submit"
type="ak.hostadmiral.core.action.SystemUserAction"
parameter="submit"
name="ak.hostadmiral.core.form.SystemUserEditForm"
name="SystemUserEditForm"
validate="true"
scope="request"
input="/user/system/edit.jsp"
352,7 → 352,7
path="/domain/delete"
type="ak.hostadmiral.core.action.InetDomainAction"
parameter="delete"
name="ak.hostadmiral.core.form.InetDomainForm"
name="InetDomainForm"
validate="true"
scope="request"
>
362,7 → 362,7
path="/domain/edit"
type="ak.hostadmiral.core.action.InetDomainAction"
parameter="edit"
name="ak.hostadmiral.core.form.InetDomainForm"
name="InetDomainForm"
validate="true"
scope="request"
>
374,7 → 374,7
path="/domain/submit"
type="ak.hostadmiral.core.action.InetDomainAction"
parameter="submit"
name="ak.hostadmiral.core.form.InetDomainEditForm"
name="InetDomainEditForm"
validate="true"
scope="request"
input="/domain/edit.jsp"
395,7 → 395,7
path="/mail/box/delete"
type="ak.hostadmiral.core.action.MailboxAction"
parameter="delete"
name="ak.hostadmiral.core.form.MailboxForm"
name="MailboxForm"
validate="true"
scope="request"
>
405,7 → 405,7
path="/mail/box/edit"
type="ak.hostadmiral.core.action.MailboxAction"
parameter="edit"
name="ak.hostadmiral.core.form.MailboxForm"
name="MailboxForm"
validate="true"
scope="request"
>
417,7 → 417,7
path="/mail/box/submit"
type="ak.hostadmiral.core.action.MailboxAction"
parameter="submit"
name="ak.hostadmiral.core.form.MailboxEditForm"
name="MailboxEditForm"
validate="true"
scope="request"
input="/mail/box/edit.jsp"
438,7 → 438,7
path="/mail/alias/delete"
type="ak.hostadmiral.core.action.MailAliasAction"
parameter="delete"
name="ak.hostadmiral.core.form.MailAliasForm"
name="MailAliasForm"
validate="true"
scope="request"
>
448,7 → 448,7
path="/mail/alias/edit"
type="ak.hostadmiral.core.action.MailAliasAction"
parameter="edit"
name="ak.hostadmiral.core.form.MailAliasForm"
name="MailAliasForm"
validate="true"
scope="request"
>
461,7 → 461,7
path="/mail/alias/submit"
type="ak.hostadmiral.core.action.MailAliasAction"
parameter="submit"
name="ak.hostadmiral.core.form.MailAliasEditForm"
name="MailAliasEditForm"
validate="true"
scope="request"
input="/mail/alias/edit.do"
/sun/hostadmiral/trunk/webapp/WEB-INF/ak-strutsx.tld
0,0 → 1,132
<?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>backpath</shortname>
<uri>http://26th.net/strutsx</uri>
 
<tag>
<name>root</name>
<tagclass>ak.strutsx.taglib.RootTag</tagclass>
<bodycontent>empty</bodycontent>
</tag>
 
<tag>
<name>errorsIterator</name>
<tagclass>ak.strutsx.taglib.ErrorsIteratorTag</tagclass>
<bodycontent>empty</bodycontent>
<attribute>
<name>bundle</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>locale</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>property</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>id</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
 
<tag>
<name>empty</name>
<tagclass>ak.strutsx.taglib.EmptyTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>name</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>
</tag>
<tag>
<name>notEmpty</name>
<tagclass>ak.strutsx.taglib.NotEmptyTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>name</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>
</tag>
 
<tag>
<name>message</name>
<tagclass>ak.strutsx.taglib.MessageTag</tagclass>
<bodycontent>empty</bodycontent>
<attribute>
<name>bundle</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>key</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>locale</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>property</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>valuesName</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>valuesProperty</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>scope</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
</taglib>
/sun/hostadmiral/trunk/webapp/WEB-INF/validation.xml
9,7 → 9,7
</global>
 
<formset>
<form name="ak.hostadmiral.core.form.LoginForm">
<form name="LoginForm">
<field property="login" depends="required">
<msg name="required" key="ak.hostadmiral.core.login.required" />
</field>
18,7 → 18,7
</field>
</form>
 
<form name="ak.hostadmiral.core.form.ChangePasswordForm">
<form name="ChangePasswordForm">
<field property="oldpassword" depends="required">
<msg name="required" key="ak.hostadmiral.core.oldpassword.required" />
</field>
30,13 → 30,13
</field>
</form>
 
<form name="ak.hostadmiral.core.form.UserForm">
<form name="UserForm">
<field property="id" depends="long">
<msg name="long" key="ak.hostadmiral.core.user.id.wrong" />
</field>
</form>
 
<form name="ak.hostadmiral.core.form.UserLoginsForm">
<form name="UserLoginsForm">
<field property="id" depends="required,long">
<msg name="required" key="ak.hostadmiral.core.user.id.wrong" />
<msg name="long" key="ak.hostadmiral.core.user.id.wrong" />
43,7 → 43,7
</field>
</form>
 
<form name="ak.hostadmiral.core.form.UserEditForm">
<form name="UserEditForm">
<field property="id" depends="long">
<msg name="long" key="ak.hostadmiral.core.user.id.wrong" />
</field>
58,7 → 58,7
</field>
</form>
 
<form name="ak.hostadmiral.core.form.UserPartEditForm">
<form name="UserPartEditForm">
<field property="id" depends="long,required">
<msg name="required" key="ak.hostadmiral.core.user.id.wrong" />
<msg name="long" key="ak.hostadmiral.core.user.id.wrong" />
68,13 → 68,13
</field>
</form>
 
<form name="ak.hostadmiral.core.form.SystemUserForm">
<form name="SystemUserForm">
<field property="id" depends="long">
<msg name="long" key="ak.hostadmiral.core.user.system.edit.id.wrong" />
</field>
</form>
 
<form name="ak.hostadmiral.core.form.SystemUserEditForm">
<form name="SystemUserEditForm">
<field property="id" depends="long">
<msg name="long" key="ak.hostadmiral.core.user.system.edit.id.wrong" />
</field>
90,13 → 90,13
</field>
</form>
 
<form name="ak.hostadmiral.core.form.InetDomainForm">
<form name="InetDomainForm">
<field property="id" depends="long">
<msg name="long" key="ak.hostadmiral.core.domain.edit.id.wrong" />
</field>
</form>
 
<form name="ak.hostadmiral.core.form.InetDomainEditForm">
<form name="InetDomainEditForm">
<field property="id" depends="long">
<msg name="long" key="ak.hostadmiral.core.domain.edit.id.wrong" />
</field>
109,13 → 109,13
</field>
</form>
 
<form name="ak.hostadmiral.core.form.MailboxForm">
<form name="MailboxForm">
<field property="id" depends="long">
<msg name="long" key="ak.hostadmiral.core.mailbox.edit.id.wrong" />
</field>
</form>
 
<form name="ak.hostadmiral.core.form.MailboxEditForm">
<form name="MailboxEditForm">
<field property="id" depends="long">
<msg name="long" key="ak.hostadmiral.core.mailbox.edit.id.wrong" />
</field>
135,13 → 135,13
</field>
</form>
 
<form name="ak.hostadmiral.core.form.MailAliasForm">
<form name="MailAliasForm">
<field property="id" depends="long">
<msg name="long" key="ak.hostadmiral.core.mail.alias.edit.id.wrong" />
</field>
</form>
 
<form name="ak.hostadmiral.core.form.MailAliasEditForm">
<form name="MailAliasEditForm">
<field property="id" depends="long">
<msg name="long" key="ak.hostadmiral.core.mail.alias.edit.id.wrong" />
</field>
/sun/hostadmiral/trunk/webapp/domain/view.jsp
3,6 → 3,7
<%@ 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/hostadmiral-core.tld" prefix="core" %>
<html>
 
9,6 → 10,7
<head>
<meta http-equiv="expires" content="0">
<title><bean:message key="ak.hostadmiral.page.domain.view.title" /></title>
<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
</head>
 
<body>
15,7 → 17,16
 
<h1><bean:message key="ak.hostadmiral.page.domain.view.title" /></h1>
 
<html:errors/>
<strutsx:errorsIterator id="errors" />
<strutsx:notEmpty name="errors">
<div class="error"><bean:message key="ak.hostadmiral.page.general.errors" />:
<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>
/sun/hostadmiral/trunk/webapp/domain/list.jsp
3,6 → 3,7
<%@ 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/hostadmiral-core.tld" prefix="core" %>
<html>
 
9,6 → 10,7
<head>
<meta http-equiv="expires" content="0">
<title><bean:message key="ak.hostadmiral.page.domain.list.title" /></title>
<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
</head>
 
<body>
15,7 → 17,16
 
<h1><bean:message key="ak.hostadmiral.page.domain.list.title" /></h1>
 
<html:errors/>
<strutsx:errorsIterator id="errors" />
<strutsx:notEmpty name="errors">
<div class="error"><bean:message key="ak.hostadmiral.page.general.errors" />:
<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>
/sun/hostadmiral/trunk/webapp/domain/edit.jsp
3,6 → 3,7
<%@ 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/hostadmiral-core.tld" prefix="core" %>
<html>
 
9,6 → 10,7
<head>
<meta http-equiv="expires" content="0">
<title><bean:message key="ak.hostadmiral.page.domain.edit.title" /></title>
<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
</head>
 
<body>
15,7 → 17,16
 
<h1><bean:message key="ak.hostadmiral.page.domain.edit.title" /></h1>
 
<html:errors/>
<strutsx:errorsIterator id="errors" />
<strutsx:notEmpty name="errors">
<div class="error"><bean:message key="ak.hostadmiral.page.general.errors" />:
<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="/domain/submit">
<backpath:current />
/sun/hostadmiral/trunk/webapp/user/failedLogins.jsp
3,6 → 3,7
<%@ 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/hostadmiral-core.tld" prefix="core" %>
<html>
 
9,6 → 10,7
<head>
<meta http-equiv="expires" content="0">
<title><bean:message key="ak.hostadmiral.page.user.failedLogins.title" /></title>
<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
</head>
 
<body>
15,7 → 17,16
 
<h1><bean:message key="ak.hostadmiral.page.user.failedLogins.title" /></h1>
 
<html:errors/>
<strutsx:errorsIterator id="errors" />
<strutsx:notEmpty name="errors">
<div class="error"><bean:message key="ak.hostadmiral.page.general.errors" />:
<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>
/sun/hostadmiral/trunk/webapp/user/edit.jsp
3,6 → 3,7
<%@ 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/hostadmiral-core.tld" prefix="core" %>
<html>
 
9,6 → 10,7
<head>
<meta http-equiv="expires" content="0">
<title><bean:message key="ak.hostadmiral.page.user.edit.title" /></title>
<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
</head>
 
<body>
15,7 → 17,16
 
<h1><bean:message key="ak.hostadmiral.page.user.edit.title" /></h1>
 
<html:errors/>
<strutsx:errorsIterator id="errors" />
<strutsx:notEmpty name="errors">
<div class="error"><bean:message key="ak.hostadmiral.page.general.errors" />:
<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="/user/submit">
<backpath:current />
/sun/hostadmiral/trunk/webapp/user/password/change.jsp
3,6 → 3,7
<%@ 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/hostadmiral-core.tld" prefix="core" %>
<html>
 
9,6 → 10,7
<head>
<meta http-equiv="expires" content="0">
<title><bean:message key="ak.hostadmiral.page.user.password.change.title" /></title>
<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
</head>
 
<body>
15,7 → 17,16
 
<h1><bean:message key="ak.hostadmiral.page.user.password.change.title" /></h1>
 
<html:errors/>
<strutsx:errorsIterator id="errors" />
<strutsx:notEmpty name="errors">
<div class="error"><bean:message key="ak.hostadmiral.page.general.errors" />:
<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="/user/password/submit" focus="oldpassword">
<backpath:current/>
/sun/hostadmiral/trunk/webapp/user/system/edit.jsp
3,6 → 3,7
<%@ 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/hostadmiral-core.tld" prefix="core" %>
<html>
 
9,6 → 10,7
<head>
<meta http-equiv="expires" content="0">
<title><bean:message key="ak.hostadmiral.page.user.system.edit.title" /></title>
<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
</head>
 
<body>
15,7 → 17,16
 
<h1><bean:message key="ak.hostadmiral.page.user.system.edit.title" /></h1>
 
<html:errors/>
<strutsx:errorsIterator id="errors" />
<strutsx:notEmpty name="errors">
<div class="error"><bean:message key="ak.hostadmiral.page.general.errors" />:
<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="/user/system/submit">
<backpath:current />
/sun/hostadmiral/trunk/webapp/user/system/view.jsp
3,6 → 3,7
<%@ 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/hostadmiral-core.tld" prefix="core" %>
<html>
 
9,6 → 10,7
<head>
<meta http-equiv="expires" content="0">
<title><bean:message key="ak.hostadmiral.page.user.system.view.title" /></title>
<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
</head>
 
<body>
15,7 → 17,16
 
<h1><bean:message key="ak.hostadmiral.page.user.system.view.title" /></h1>
 
<html:errors/>
<strutsx:errorsIterator id="errors" />
<strutsx:notEmpty name="errors">
<div class="error"><bean:message key="ak.hostadmiral.page.general.errors" />:
<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>
/sun/hostadmiral/trunk/webapp/user/system/list.jsp
3,6 → 3,7
<%@ 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/hostadmiral-core.tld" prefix="core" %>
<html>
 
9,6 → 10,7
<head>
<meta http-equiv="expires" content="0">
<title><bean:message key="ak.hostadmiral.page.user.system.list.title" /></title>
<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
</head>
 
<body>
15,7 → 17,16
 
<h1><bean:message key="ak.hostadmiral.page.user.system.list.title" /></h1>
 
<html:errors/>
<strutsx:errorsIterator id="errors" />
<strutsx:notEmpty name="errors">
<div class="error"><bean:message key="ak.hostadmiral.page.general.errors" />:
<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>
/sun/hostadmiral/trunk/webapp/user/view.jsp
3,6 → 3,7
<%@ 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/hostadmiral-core.tld" prefix="core" %>
<html>
 
9,6 → 10,7
<head>
<meta http-equiv="expires" content="0">
<title><bean:message key="ak.hostadmiral.page.user.view.title" /></title>
<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
</head>
 
<body>
15,7 → 17,16
 
<h1><bean:message key="ak.hostadmiral.page.user.view.title" /></h1>
 
<html:errors/>
<strutsx:errorsIterator id="errors" />
<strutsx:notEmpty name="errors">
<div class="error"><bean:message key="ak.hostadmiral.page.general.errors" />:
<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>
/sun/hostadmiral/trunk/webapp/user/list.jsp
3,6 → 3,7
<%@ 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/hostadmiral-core.tld" prefix="core" %>
<html>
 
9,6 → 10,7
<head>
<meta http-equiv="expires" content="0">
<title><bean:message key="ak.hostadmiral.page.user.list.title" /></title>
<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
</head>
 
<body>
15,7 → 17,16
 
<h1><bean:message key="ak.hostadmiral.page.user.list.title" /></h1>
 
<html:errors/>
<strutsx:errorsIterator id="errors" />
<strutsx:notEmpty name="errors">
<div class="error"><bean:message key="ak.hostadmiral.page.general.errors" />:
<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>
/sun/hostadmiral/trunk/webapp/user/logins.jsp
3,6 → 3,7
<%@ 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/hostadmiral-core.tld" prefix="core" %>
<html>
 
9,6 → 10,7
<head>
<meta http-equiv="expires" content="0">
<title><bean:message key="ak.hostadmiral.page.user.logins.title" /></title>
<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
</head>
 
<body>
15,7 → 17,16
 
<h1><bean:message key="ak.hostadmiral.page.user.logins.title" /></h1>
 
<html:errors/>
<strutsx:errorsIterator id="errors" />
<strutsx:notEmpty name="errors">
<div class="error"><bean:message key="ak.hostadmiral.page.general.errors" />:
<ul>
<logic:iterate name="errors" id="error">
<li><strutsx:message name="error" property="key" valuesProperty="values" /></li>
</logic:iterate>
</ul>
</div>
</strutsx:notEmpty>
 
<p>
<bean:message key="ak.hostadmiral.page.user.logins.login" />
/sun/hostadmiral/trunk/webapp/user/partedit.jsp
3,6 → 3,7
<%@ 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/hostadmiral-core.tld" prefix="core" %>
<html>
 
9,6 → 10,7
<head>
<meta http-equiv="expires" content="0">
<title><bean:message key="ak.hostadmiral.page.user.partedit.title" /></title>
<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
</head>
 
<body>
15,7 → 17,16
 
<h1><bean:message key="ak.hostadmiral.page.user.partedit.title" /></h1>
 
<html:errors/>
<strutsx:errorsIterator id="errors" />
<strutsx:notEmpty name="errors">
<div class="error"><bean:message key="ak.hostadmiral.page.general.errors" />:
<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="/user/partsubmit">
<backpath:current />
/sun/hostadmiral/trunk/webapp/style/general.css
0,0 → 1,0
.error {color:red;}