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/service addService.jsp deleteService.jsp service.jsp
Date Wed, 13 Feb 2002 00:04:29 GMT
manveen     02/02/12 16:04:29

  Added:       webapps/admin/service addService.jsp deleteService.jsp
                        service.jsp
  Log:
  Move service related jsps to "service" directory to organize jsps and avoid clutter.
  
  Revision  Changes    Path
  1.1                  jakarta-tomcat-4.0/webapps/admin/service/addService.jsp
  
  Index: addService.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/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="/addService">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr class="page-title-row">
        <td width="81%"> 
          <div class="page-title-text" align="left">
             <bean:message key="service.create.new"/>
          </div>
        </td>
      </tr>
    </table>
  
    <%@ include file="../buttons.jsp" %>
  
   <%-- Heading --%>
   
   <table border="0" cellspacing="0" cellpadding="0" width="100%">
      <tr> <td>  <div class="table-title-text"> 
         <bean:define name="addServiceForm" id="addServiceForm" scope="session"/>  
         <bean:message key="service.properties"/> 
      </div> </td> </tr>
    </table>
  
    <table class="back-table" border="0" cellspacing="0" cellpadding="1" width="100%">
      <tr> 
        <td> 
          <controls:table tableStyle="front-table" lineStyle="line-row">
              <controls:row header="true" 
                  labelStyle="table-header-text" dataStyle="table-header-text">
              <controls:label><bean:message key="service.property"/></controls:label>
              <controls:data><bean:message key="service.value"/> </controls:data>
          </controls:row>
  
          <controls:row labelStyle="table-label-text" dataStyle="table-normal-text">
              <controls:label><bean:message key="service.name"/>:</controls:label>
              <controls:data>
                 <html:text property="serviceName" size="24" maxlength="24"/>
              </controls:data>
          </controls:row>
  
      </controls:table>
  
      </td>
      </tr>
    </table>
  
  <br>
  
    <table border="0" cellspacing="0" cellpadding="0" width="100%">
      <tr> <td> <div class="table-title-text">  
          <bean:message key="service.engine.props"/> 
      </div> </td> </tr>
    </table>
   
    <table class="back-table" border="0" cellspacing="0" cellpadding="1" width="100%">
      <tr> 
        <td> 
          <controls:table tableStyle="front-table" lineStyle="line-row">
              <controls:row header="true" 
                  labelStyle="table-header-text" dataStyle="table-header-text">
              <controls:label><bean:message key="service.property"/></controls:label>
              <controls:data><bean:message key="service.value"/> </controls:data>
          </controls:row>
  
          <controls:row labelStyle="table-label-text" dataStyle="table-normal-text">
              <controls:label><bean:message key="service.name"/>:</controls:label>
              <controls:data>
                <html:text property="engineName" size="24" maxlength="24"/>
              </controls:data>
          </controls:row>
  
          <controls:row labelStyle="table-label-text" dataStyle="table-normal-text">
              <controls:label><bean:message key="server.debuglevel"/>:</controls:label>
              <controls:data>
                  <html:select property="debugLvl">
                       <bean:define id="debugLvlVals" name="addServiceForm" property="debugLvlVals"/>
                       <html:options collection="debugLvlVals" property="value"
                        labelProperty="label"/>
                  </html:select>
              </controls:data>
          </controls:row>
  
          <controls:row labelStyle="table-label-text" dataStyle="table-normal-text">
              <controls:label><bean:message key="service.defaulthostname"/>:</controls:label>
              <controls:data>            
                <html:text property="defaultHost" size="24" maxlength="24"/>       
          
              </controls:data>
          </controls:row>
  
      </controls:table>
      </td>
      </tr>
    </table>
    <br>
  
    <%@ include file="../buttons.jsp" %>
    </html:form>
  </body>
  
  </html:html>
  
  
  
  1.1                  jakarta-tomcat-4.0/webapps/admin/service/deleteService.jsp
  
  Index: deleteService.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="/deleteService">
    <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.services.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>
  
    <%-- Services 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="services" id="service">
  
              <tr class="line-row">
                  <td><div align="left" class="table-normal-text">&nbsp;
                      <input type="checkbox" name="checkbox" 
                       value='<%= service.toString() %>' >                  
                  </div></td>
                <td><div align="left" class="table-normal-text">&nbsp;
                  <html:link page='<%= "/setUpService.do?select=" + 
                                 java.net.URLEncoder.encode(service.toString()) %>'>
                    <controls:attribute name="service" attribute="name"/>
                  </html:link>
                </div></td>
              </tr>
            </logic:iterate>
          </table>
        </td>
      </tr>
    </table>
  
  <%@ include file="../buttons.jsp" %>
  
    <br>
  </html:form>
  
  <p>&nbsp;</p>
  </body>
  </html:html>
  
  
  
  1.1                  jakarta-tomcat-4.0/webapps/admin/service/service.jsp
  
  Index: service.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="/service">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr class="page-title-row">
        <td width="81%"> 
          <div class="page-title-text" align="left">
          <bean:write name="serviceForm" property="nodeLabel" scope="session"/>
          <bean:define id="serviceName" name="serviceForm" property="serviceName"/>
          </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:action url="">  <bean:message key="actions.accesslogger.create"/>
</controls:action>
              <controls:action url="">  <bean:message key="actions.accesslogger.delete"/>
</controls:action>
              <controls:action> ------------------------------------- </controls:action>
              <controls:action url="">  <bean:message key="actions.connector.create"/>
</controls:action>
              <controls:action url="">  <bean:message key="actions.connector.delete"/>
</controls:action>
              <controls:action> ------------------------------------- </controls:action>
              <controls:action url="">  <bean:message key="actions.host.create"/>
</controls:action>
              <controls:action url="">  <bean:message key="actions.host.delete"/>
</controls:action>
              <controls:action> ------------------------------------- </controls:action>
              <controls:action url="">  <bean:message key="actions.logger.create"/>
</controls:action>
              <controls:action url="">  <bean:message key="actions.logger.delete"/>
</controls:action>
              <controls:action> ------------------------------------- </controls:action>
              <controls:action url="">  <bean:message key="actions.requestfilter.create"/>
</controls:action>
              <controls:action url="">  <bean:message key="actions.requestfilter.delete"/>
</controls:action>
              <controls:action> ------------------------------------- </controls:action>
              <controls:action url="">  <bean:message key="actions.userrealm.create"/>
</controls:action>
              <controls:action url="">  <bean:message key="actions.userrealm.delete"/>
</controls:action>
              <controls:action> ------------------------------------- </controls:action>
              <controls:action url="">  <bean:message key="actions.valve.create"/>
</controls:action>
              <controls:action url="">  <bean:message key="actions.valve.delete"/>
</controls:action>
              <controls:action> ------------------------------------- </controls:action>
              --%>
              <controls:action url='<%= "/setUpDeleteService.do?this=" + serviceName
%>'>  
                      <bean:message key="actions.service.delete"/> 
              </controls:action>
          </controls:actions>
            </div>
        </td>
      </tr>
    </table>
  
    <%@ include file="../buttons.jsp" %>
  
   <%-- Heading --%>
   
   <table border="0" cellspacing="0" cellpadding="0" width="100%">
      <tr> <td>  <div class="table-title-text">  
              <bean:message key="service.properties"/>
      </div> </td> </tr>
    </table>
  
    <table class="back-table" border="0" cellspacing="0" cellpadding="1" width="100%">
      <tr> 
        <td> 
          <controls:table tableStyle="front-table" lineStyle="line-row">
              <controls:row header="true" 
                  labelStyle="table-header-text" dataStyle="table-header-text">
              <controls:label><bean:message key="service.property"/></controls:label>
              <controls:data><bean:message key="service.value"/> </controls:data>
          </controls:row>
  
          <controls:row labelStyle="table-label-text" dataStyle="table-normal-text">
              <controls:label><bean:message key="service.name"/>:</controls:label>
              <controls:data>
                <html:hidden property="serviceName"/>
                <bean:write name="serviceForm" property="serviceName" 
                            scope="session"/> 
              </controls:data>
          </controls:row>
  
      </controls:table>
  
      </td>
      </tr>
    </table>
  
  <br>
  
    <table border="0" cellspacing="0" cellpadding="0" width="100%">
      <tr> <td> <div class="table-title-text">  
          <bean:message key="service.engine.props"/> 
      </div> </td> </tr>
    </table>
   
    <table class="back-table" border="0" cellspacing="0" cellpadding="1" width="100%">
      <tr> 
        <td> 
          <controls:table tableStyle="front-table" lineStyle="line-row">
              <controls:row header="true" 
                  labelStyle="table-header-text" dataStyle="table-header-text">
              <controls:label><bean:message key="service.property"/></controls:label>
              <controls:data><bean:message key="service.value"/> </controls:data>
          </controls:row>
  
          <controls:row labelStyle="table-label-text" dataStyle="table-normal-text">
              <controls:label><bean:message key="service.name"/>:</controls:label>
              <controls:data>
                <html:text property="engineName" size="24" maxlength="24"/>
              </controls:data>
          </controls:row>
  
          <controls:row labelStyle="table-label-text" dataStyle="table-normal-text">
              <controls:label><bean:message key="server.debuglevel"/>:</controls:label>
              <controls:data>
                  <html:select property="debugLvl">
                       <bean:define id="debugLvlVals" name="serviceForm" property="debugLvlVals"/>
                       <html:options collection="debugLvlVals" property="value"
                     labelProperty="label"/>
                  </html:select>
              </controls:data>
          </controls:row>
  
          <controls:row labelStyle="table-label-text" dataStyle="table-normal-text">
              <controls:label><bean:message key="service.defaulthostname"/>:</controls:label>
              <controls:data>
                  <html:select property="defaultHost">
                       <bean:define id="hostNameVals" 
                              name="serviceForm" property="hostNameVals"/>
                       <html:options collection="hostNameVals" property="value"
                              labelProperty="label"/>
                  </html:select>
              </controls:data>
          </controls:row>
  
      </controls:table>
      </td>
      </tr>
    </table>
    <br>
  
    <%@ include file="../buttons.jsp" %>
  
    </html:form>
  </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