| <!-- Standard Struts Entries --> |
| <%@ page language="java" contentType="text/html;charset=utf-8" %> |
| <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> |
| <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> |
| <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> |
| <%@ taglib uri="/WEB-INF/controls.tld" prefix="controls" %> |
| |
| <html:html locale="true"> |
| |
| <%@ include file="../users/header.jsp" %> |
| |
| <!-- Body --> |
| <body bgcolor="white" background="../images/PaperTexture.gif"> |
| |
| <!--Form --> |
| |
| <html:errors/> |
| |
| <html:form method="post" action="/DeleteContexts"> |
| |
| <table width="100%" border="0" cellspacing="0" cellpadding="0"> |
| <tr bgcolor="7171A5"> |
| <td width="81%"> |
| <div class="page-title-text" align="left"> |
| <bean:message key="actions.contexts.delete"/> |
| </div> |
| </td> |
| <td align="right" nowrap> |
| <div class="page-title-text"> |
| <controls:actions label="Context Actions"> |
| <controls:action selected="true"> |
| ----<bean:message key="actions.available.actions"/>---- |
| </controls:action> |
| <controls:action> |
| --------------------------------- |
| </controls:action> |
| </controls:actions> |
| </div> |
| </td> |
| </tr> |
| </table> |
| |
| <%@ include file="../buttons.jsp" %> |
| <br> |
| |
| <%-- Contexts List --%> |
| <table class="back-table" border="0" cellspacing="0" cellpadding="1" |
| width="100%"> |
| <tr><td> |
| |
| <table class="front-table" border="1" |
| cellspacing="0" cellpadding="0" width="100%"> |
| |
| <tr class="header-row"> |
| <td><div align="left" class="table-header-text"> |
| <bean:message key="actions.delete"/> |
| </div></td> |
| <td><div align="left" class="table-header-text"> |
| <bean:message key="host.name"/> |
| </div></td> |
| </tr> |
| |
| <logic:iterate name="contextsList" id="context"> |
| <tr class="line-row"> |
| <td><div align="left" class="table-normal-text"> |
| <%-- admin context cannot be deleted from the tool --%> |
| <logic:match name="context" value='<%= request.getContextPath()+"," %>'> |
| <font color='red'>*</font> |
| </logic:match> |
| <logic:notMatch name="context" value='<%= request.getContextPath()+"," %>'> |
| <label for="contexts"></label> |
| <html:multibox property="contexts" |
| value="<%= context.toString() %>" styleId="contexts"/> |
| </logic:notMatch> |
| </div></td> |
| <td><div align="left" class="table-normal-text"> |
| <html:link page='<%= "/EditContext.do?select=" + |
| java.net.URLEncoder.encode(context.toString(),"UTF-8") %>'> |
| <controls:attribute name="context" attribute="path"/> |
| </html:link> |
| </div></td> |
| </tr> |
| </logic:iterate> |
| |
| </table> |
| |
| </td></tr> |
| </table> |
| |
| <%@ include file="../buttons.jsp" %> |
| |
| <br> |
| </html:form> |
| |
| <p> </p> |
| </body> |
| </html:html> |