You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2002/05/02 20:16:10 UTC
cvs commit: jakarta-tomcat-4.0/webapps/admin/context context.jsp
manveen 02/05/02 11:16:10
Modified: webapps/admin/context context.jsp
Log:
cannot add or delete a realm from the admin context.
Revision Changes Path
1.6 +4 -1 jakarta-tomcat-4.0/webapps/admin/context/context.jsp
Index: context.jsp
===================================================================
RCS file: /home/cvs/jakarta-tomcat-4.0/webapps/admin/context/context.jsp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- context.jsp 26 Apr 2002 19:15:52 -0000 1.5
+++ context.jsp 2 May 2002 18:16:10 -0000 1.6
@@ -51,6 +51,9 @@
URLEncoder.encode(thisObjectName) %>'>
<bean:message key="actions.loggers.deletes"/>
</controls:action>
+ <%-- cannot delete or add the realm of the context of the admin app --%>
+ <logic:notEqual name="contextForm" property="path"
+ value='<%= request.getContextPath() %>'>
<controls:action disabled="true"> ------------------------------------- </controls:action>
<controls:action url='<%= "/AddRealm.do?parent=" +
URLEncoder.encode(thisObjectName) %>'>
@@ -60,7 +63,7 @@
URLEncoder.encode(thisObjectName) %>'>
<bean:message key="actions.realms.deletes"/>
</controls:action>
- --%>
+ </logic:notEqual>
<controls:action disabled="true"> ------------------------------------- </controls:action>
<controls:action url='<%= "/AddValve.do?parent=" +
URLEncoder.encode(thisObjectName) %>'>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>