Subversion Repositories general

Rev

Rev 958 | Rev 1010 | 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.index.title" /></title>
        <link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
</head>

<body>

<h1><bean:message key="ak.hostadmiral.page.index.title" /></h1>

<p>Object: <bean:write name="object" property="identKey" /></p>
<p>Action: <bean:write name="action" /></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:backlink><bean:message key="ak.hostadmiral.page.user.list.back" /></backpath:backlink>

</body>

</html>