manveen 02/03/23 18:44:30 Modified: webapps/admin/context context.jsp contexts.jsp Log: Enabled "delete context" operation from context page. Revision Changes Path 1.2 +9 -4 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.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- context.jsp 23 Mar 2002 21:52:27 -0000 1.1 +++ context.jsp 24 Mar 2002 02:44:30 -0000 1.2 @@ -41,6 +41,7 @@ <controls:actions> <controls:action selected="true"> ----<bean:message key="actions.available.actions"/>---- </controls:action> <controls:action disabled="true"> --------------------------------- </controls:action> + <logic:notEqual name="contextForm" property="adminAction" value="Create"> <controls:action url='<%= "/AddLogger.do?parent=" + URLEncoder.encode(thisObjectName) %>'> <bean:message key="actions.loggers.create"/> @@ -62,10 +63,14 @@ <controls:action disabled="true"> ------------------------------------- </controls:action> <controls:action url=""> <bean:message key="actions.valves.create"/> </controls:action> <controls:action url=""> <bean:message key="actions.valves.deletes"/> </controls:action> - <controls:action> --------------------------------- </controls:action> - <controls:action url=""> <bean:message key="actions.thiscontext.delete"/> </controls:action> - --%> - </controls:actions> + --%> + <controls:action disabled="true"> ------------------------------------- </controls:action> + <controls:action url='<%= "/DeleteContext.do?select=" + + URLEncoder.encode(thisObjectName) %>'> + <bean:message key="actions.contexts.delete"/> + </controls:action> + </logic:notEqual> + </controls:actions> </div> </td> </tr> 1.2 +1 -1 jakarta-tomcat-4.0/webapps/admin/context/contexts.jsp Index: contexts.jsp =================================================================== RCS file: /home/cvs/jakarta-tomcat-4.0/webapps/admin/context/contexts.jsp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- contexts.jsp 23 Mar 2002 21:52:27 -0000 1.1 +++ contexts.jsp 24 Mar 2002 02:44:30 -0000 1.2 @@ -70,7 +70,7 @@ <td><div align="left" class="table-normal-text"> <html:link page='<%= "/EditContext.do?select=" + java.net.URLEncoder.encode(context.toString()) %>'> - <controls:attribute name="context" attribute="name"/> + <controls:attribute name="context" attribute="path"/> </html:link> </div></td> </tr>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>