tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From manv...@apache.org
Subject cvs commit: jakarta-tomcat-4.0/webapps/admin/host aliases.jsp host.jsp
Date Thu, 18 Apr 2002 06:46:46 GMT
manveen     02/04/17 23:46:46

  Modified:    webapps/admin/host host.jsp
  Added:       webapps/admin/host aliases.jsp
  Log:
  Added aliases jsp that lists all set of aliases for a particular host.
  Enabled the delete alias operation from host.
  
  Revision  Changes    Path
  1.13      +4 -3      jakarta-tomcat-4.0/webapps/admin/host/host.jsp
  
  Index: host.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/webapps/admin/host/host.jsp,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- host.jsp	16 Apr 2002 18:52:32 -0000	1.12
  +++ host.jsp	18 Apr 2002 06:46:45 -0000	1.13
  @@ -47,9 +47,10 @@
                                     URLEncoder.encode(thisObjectName) %>'>
                   <bean:message key="actions.alias.create"/>
               </controls:action>              
  -            <%--
  -            <controls:action url="">  <bean:message key="actions.alias.delete"/>
</controls:action>
  -            --%>
  +            <controls:action url='<%= "/DeleteAlias.do?hostName=" + 
  +                                  URLEncoder.encode(thisObjectName) %>'>
  +                <bean:message key="actions.alias.delete"/>
  +            </controls:action>              
               <controls:action disabled="true"> -------------------------------------
</controls:action> 
               <controls:action url='<%= "/AddLogger.do?parent=" + 
                                     URLEncoder.encode(thisObjectName) %>'>
  
  
  
  1.1                  jakarta-tomcat-4.0/webapps/admin/host/aliases.jsp
  
  Index: aliases.jsp
  ===================================================================
  <!-- Standard Struts Entries -->
  <%@ page language="java" %>
  <%@ 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">
  
  <!--Form -->
  
  <html:errors/>
  
  <html:form method="POST" action="/DeleteAliases">
  
    <html:hidden property="hostName"/>
    <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.alias.delete"/>
          </div>
        </td>
        <td width="19%"> 
          <div align="right">
              <controls: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>
  
    <%-- Aliases 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.alias.name"/>
              </div></td>
            </tr>
  
          <logic:iterate name="aliasesList" id="alias">
            <tr class="line-row">
              <td><div align="left" class="table-normal-text">&nbsp;
                <html:multibox property="aliases"
                                  value="<%= alias.toString() %>"/>
              </div></td>
              <td><div align="left" class="table-normal-text">&nbsp;  
                  <%= alias.toString() %>
              </div></td>
            </tr>
          </logic:iterate>
          </table>
        </td>
      </tr>
    </table>
  
  <%@ include file="../buttons.jsp" %>
  
    <br>
  </html:form>
  
  <p>&nbsp;</p>
  </body>
  </html:html>
  
  
  

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message