Rev 949 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 949 | Rev 958 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
2 | <%@ page import="java.util.*,ak.hostadmiral.core.model.*" %> |
2 | <%@ page import="java.util.*,ak.hostadmiral.core.model.*" %> |
3 | <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> |
3 | <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> |
4 | <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> |
4 | <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> |
5 | <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> |
5 | <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> |
6 | <%@ taglib uri="/WEB-INF/ak-backpath.tld" prefix="backpath" %> |
6 | <%@ taglib uri="/WEB-INF/ak-backpath.tld" prefix="backpath" %> |
- | 7 | <%@ taglib uri="/WEB-INF/ak-strutsx.tld" prefix="strutsx" %> |
|
7 | <%@ taglib uri="/WEB-INF/hostadmiral-core.tld" prefix="core" %> |
8 | <%@ taglib uri="/WEB-INF/hostadmiral-core.tld" prefix="core" %> |
8 | <html> |
9 | <html> |
9 | 10 | ||
10 | <head> |
11 | <head> |
11 | <meta http-equiv="expires" content="0"> |
12 | <meta http-equiv="expires" content="0"> |
12 | <title><bean:message key="ak.hostadmiral.page.index.title" /></title> |
13 | <title><bean:message key="ak.hostadmiral.page.index.title" /></title> |
- | 14 | <link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
|
13 | </head> |
15 | </head> |
14 | 16 | ||
15 | <body> |
17 | <body> |
16 | 18 | ||
17 | <h1><bean:message key="ak.hostadmiral.page.index.title" /></h1> |
19 | <h1><bean:message key="ak.hostadmiral.page.index.title" /></h1> |
18 | 20 | ||
19 | <p>Object: <bean:write name="object" property="identKey" /></p> |
21 | <p>Object: <bean:write name="object" property="identKey" /></p> |
20 | <p>Action: <bean:write name="action" /></p> |
22 | <p>Action: <bean:write name="action" /></p> |
21 | <p>Cascade: <bean:write name="cascade" /></p> |
- | |
22 | 23 | ||
23 | <ul> |
24 | <ul> |
24 | <% |
25 | <% |
25 | Collection cascade = (Collection)request.getAttribute("cascade"); |
26 | Collection cascade = (Collection)request.getAttribute("cascade"); |
26 | 27 | ||
27 | for(Iterator i = cascade.iterator(); i.hasNext(); ) { |
28 | for(Iterator i = cascade.iterator(); i.hasNext(); ) { |
28 | CascadeDeleteElement e = (CascadeDeleteElement)i.next(); |
29 | CascadeDeleteElement e = (CascadeDeleteElement)i.next(); |
29 | pageContext.setAttribute("e", e); |
30 | pageContext.setAttribute("e", e); |
30 | 31 | ||
- | 32 | %><li> |
|
- | 33 | <logic:equal name="e" property="effect" value="1"> |
|
- | 34 | FORBIDDEN |
|
- | 35 | </logic:equal> |
|
- | 36 | <logic:equal name="e" property="effect" value="2"> |
|
- | 37 | delete |
|
- | 38 | </logic:equal> |
|
- | 39 | <logic:equal name="e" property="effect" value="3"> |
|
- | 40 | change |
|
- | 41 | </logic:equal> |
|
- | 42 | <strutsx:message name="e" property="object.typeKey" /> |
|
- | 43 | <em><strutsx:message name="e" property="object.identKey" valuesProperty="object.identParams" /></em> |
|
31 | %><li><bean:write name="e" property="object.identKey" /></li><% |
44 | <bean:write name="e" property="cascade" /> |
- | 45 | </li><% |
|
32 | } |
46 | } |
33 | %> |
47 | %> |
34 | </ul> |
48 | </ul> |
35 | 49 | ||
36 | <br> |
50 | <br> |