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 host.jsp
Date Thu, 02 May 2002 18:22:17 GMT
manveen     02/05/02 11:22:17

  Modified:    webapps/admin/host host.jsp
  Log:
  Disable links for deleting host and adding/deleting realms to the host of the admin app
so that the tool doesnt crash.
  
  Revision  Changes    Path
  1.14      +5 -1      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.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- host.jsp	18 Apr 2002 06:46:45 -0000	1.13
  +++ host.jsp	2 May 2002 18:22:17 -0000	1.14
  @@ -69,6 +69,7 @@
                                     URLEncoder.encode(thisObjectName) %>'> 
                   <bean:message key="actions.contexts.deletes"/> 
               </controls:action>
  +            <logic:notEqual name="hostName" value='<%= request.getServerName() %>'>
               <controls:action disabled="true"> 
                   ------------------------------------- 
               </controls:action>
  @@ -80,6 +81,7 @@
                                     URLEncoder.encode(thisObjectName) %>'> 
                   <bean:message key="actions.realms.deletes"/> 
               </controls:action>
  +            </logic:notEqual>
               <controls:action disabled="true"> 
                   ------------------------------------- 
               </controls:action>
  @@ -91,13 +93,15 @@
                                     URLEncoder.encode(thisObjectName) %>'> 
                   <bean:message key="actions.valves.deletes"/> 
               </controls:action>
  +            <logic:notEqual name="hostName" value='<%= request.getServerName() %>'>
               <controls:action disabled="true"> 
                   ------------------------------------- 
               </controls:action>
               <controls:action url='<%= "/DeleteHost.do?select=" + 
                                           URLEncoder.encode(thisObjectName) %>'>  
                   <bean:message key="actions.hosts.delete"/> 
  -            </controls:action>           
  +            </controls:action>
  +           </logic:notEqual>
              </logic:notEqual>          
            </controls:actions>
          </div>
  
  
  

--
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