Rev 995 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<%@ 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>
<head>
<meta http-equiv="expires" content="0">
<title><bean:message key="ak.hostadmiral.page.deleting.title" /></title>
<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
</head>
<body>
<h1><bean:message key="ak.hostadmiral.page.deleting.title" /></h1>
<p>Object: <bean:write name="object" property="identKey" /> <bean:write name="object" property="id" /></p>
<p>Action: <bean:write name="action" /></p>
<p>FIXME: draw a real object tree here</p>
<ul>
<%
Collection cascade = (Collection)request.getAttribute("cascade");
for(Iterator i = cascade.iterator(); i.hasNext(); ) {
CascadeDeleteElement e = (CascadeDeleteElement)i.next();
pageContext.setAttribute("e", e);
%><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>
<br>
<backpath:currentlink action="<%= (String)request.getAttribute("action") %>" paramId="id" paramName="object" paramProperty="id"><bean:message key="ak.hostadmiral.page.deleting.delete" /></backpath:currentlink>
<backpath:backlink><bean:message key="ak.hostadmiral.page.deleting.back" /></backpath:backlink>
</body>
</html>