You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by ch...@apache.org on 2006/10/09 12:39:34 UTC

svn commit: r454333 - /webservices/axis2/branches/java/1_1/modules/webapp/

Author: chinthaka
Date: Mon Oct  9 03:39:33 2006
New Revision: 454333

URL: http://svn.apache.org/viewvc?view=rev&rev=454333
Log:
More imrovements to jsps

Modified:
    webservices/axis2/branches/java/1_1/modules/webapp/InActivateService.jsp
    webservices/axis2/branches/java/1_1/modules/webapp/LeftFrame.jsp
    webservices/axis2/branches/java/1_1/modules/webapp/engagingtoanoperation.jsp
    webservices/axis2/branches/java/1_1/modules/webapp/engagingtoaservice.jsp
    webservices/axis2/branches/java/1_1/modules/webapp/error.jsp
    webservices/axis2/branches/java/1_1/modules/webapp/errorModule.jsp
    webservices/axis2/branches/java/1_1/modules/webapp/globalModules.jsp
    webservices/axis2/branches/java/1_1/modules/webapp/index.jsp
    webservices/axis2/branches/java/1_1/modules/webapp/listFaultyService.jsp
    webservices/axis2/branches/java/1_1/modules/webapp/listGroupService.jsp

Modified: webservices/axis2/branches/java/1_1/modules/webapp/InActivateService.jsp
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/webapp/InActivateService.jsp?view=diff&rev=454333&r1=454332&r2=454333
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/webapp/InActivateService.jsp (original)
+++ webservices/axis2/branches/java/1_1/modules/webapp/InActivateService.jsp Mon Oct  9 03:39:33 2006
@@ -11,8 +11,6 @@
 <tr>
   <td colspan="2" >
      <p>Only the services that are active are listed below. Note that although you can activate a service from this page,once system is restarted the service will be active again</p>
-<%--    <b>Remove Service :</b> The selected axisService will be removed from the file system and if the--%>
-<%--    &nbsp; system restart it wont be there next time--%>
   </td>
   </tr>
   <tr>

Modified: webservices/axis2/branches/java/1_1/modules/webapp/LeftFrame.jsp
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/webapp/LeftFrame.jsp?view=diff&rev=454333&r1=454332&r2=454333
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/webapp/LeftFrame.jsp (original)
+++ webservices/axis2/branches/java/1_1/modules/webapp/LeftFrame.jsp Mon Oct  9 03:39:33 2006
@@ -18,11 +18,6 @@
 *
 */
 
-/**
- * Author : Deepal Jayasinghe
- * Date: May 26, 2005
- * Time: 7:14:26 PM
- */
 %>
 <table width="100%" style="border-right:1px solid #CCCCCC;">
     <tr>

Modified: webservices/axis2/branches/java/1_1/modules/webapp/engagingtoanoperation.jsp
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/webapp/engagingtoanoperation.jsp?view=diff&rev=454333&r1=454332&r2=454333
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/webapp/engagingtoanoperation.jsp (original)
+++ webservices/axis2/branches/java/1_1/modules/webapp/engagingtoanoperation.jsp Mon Oct  9 03:39:33 2006
@@ -9,7 +9,14 @@
     String status = (String)request.getSession().getAttribute(Constants.ENGAGE_STATUS);
 %>
 <h1>Engage Module for an Operation</h1>
-<p>To engage a module for a axisOperation, first select the module you want to engage and then select the axisOperation you like the module to be engaged on and click "Engage".</p>
+<p>To engage a module for an  axis operation,
+
+    <ol>
+            <li>select the module you want to engage </li>
+            <li>select the axis operation you like the module to be engaged.</li>
+            <li>click "Engage".</li>
+        </ol>
+</p>
 <form method="get" name="selectModuleForm" action="axis2-admin/listOperations">
 <table border="0" width="100%" cellspacing="1" cellpadding="1">
     <tr>

Modified: webservices/axis2/branches/java/1_1/modules/webapp/engagingtoaservice.jsp
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/webapp/engagingtoaservice.jsp?view=diff&rev=454333&r1=454332&r2=454333
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/webapp/engagingtoaservice.jsp (original)
+++ webservices/axis2/branches/java/1_1/modules/webapp/engagingtoaservice.jsp Mon Oct  9 03:39:33 2006
@@ -3,100 +3,124 @@
                                                                              org.apache.axis2.description.AxisService,
                                                                              java.util.Collection,
                                                                              java.util.HashMap,
-                                                                             java.util.Iterator" errorPage="" %>
-<jsp:include page="include/adminheader.jsp"></jsp:include>
+                                                                             java.util.Iterator"
+         errorPage="" %>
+<jsp:include page="include/adminheader.jsp">
+</jsp:include>
 <%
-    String status = (String)request.getSession().getAttribute(Constants.ENGAGE_STATUS);
+    String status = (String) request.getSession().getAttribute(Constants.ENGAGE_STATUS);
 %>
 <h1>Engage Module for a Service</h1>
-<p>To engage a module for a axisService, first select the module you want to engage and then select the axisService you like the module to be engaged on and click "Engage".</p>
+
+<p>To engage a module for a axis service,
+
+    <ol>
+        <li>select the module you want to engage</li>
+        <li>select the axis service you like the module to be engaged.</li>
+        <li>click "Engage".</li>
+    </ol>
+</p>
 <form method="get" name="selectModuleForm" action="axis2-admin/engageToService">
-<table border="0" width="100%" cellspacing="1" cellpadding="1">
-    <tr>
-        <td>
-            &nbsp;
-            &nbsp;
-        </td>
-    </tr>
-    <tr>
-        <td>Select a Module :</td>
-    </tr>
-    <tr>
-        <td>
-            <select name="modules">
-            <%
-                HashMap moduels = (HashMap)request.getSession().getAttribute(Constants.MODULE_MAP);
-                request.getSession().setAttribute(Constants.MODULE_MAP,null);
-                Collection moduleCol =  moduels.values();
-                for (Iterator iterator = moduleCol.iterator(); iterator.hasNext();) {
-                    AxisModule axisOperation = (AxisModule) iterator.next();
-                    String modulename = axisOperation.getName().getLocalPart();
-            %> <option  align="left" value="<%=modulename%>"><%=modulename%></option>
-             <%
-                }
-             %>
-           </td>
-        </tr>
-        <tr>
-           <td>
-             &nbsp;
-             &nbsp;
-           </td>
-         </tr>
-         <tr>
-        <td>Select a Service :</td>
-    </tr>
-    <tr>
-        <td>
-            <select name="axisService">
-            <%
-                HashMap services = (HashMap)request.getSession().getAttribute(Constants.SERVICE_MAP);
-                Collection serviceCol =  services.values();
-                for (Iterator iterator = serviceCol.iterator(); iterator.hasNext();) {
-                    AxisService axisService = (AxisService)iterator.next();
-                    String serviceName = axisService.getName();
-            %> <option  align="left" value="<%=serviceName%>"><%=serviceName%></option>
-             <%
-                }
-                request.getSession().setAttribute(Constants.SERVICE_MAP,null);
-             %>
-           </td>
-        </tr>
-        <tr>
-           <td>
-             &nbsp;
-             &nbsp;
-           </td>
-         </tr>
-         <tr>
-             <td>
-                <input name="submit" type="submit" value=" Engage " >
-             </td>
-         </tr>
-         <tr>
-             <td>
-             &nbsp;
-             &nbsp;
-             </td>
-         </tr>
-         <tr>
-             <td>
-             &nbsp;
-             &nbsp;
-             </td>
-         </tr>
-         <tr>
-             <td>
+    <table border="0" width="100%" cellspacing="1" cellpadding="1">
+        <tr>
+            <td>
+                &nbsp;
+                &nbsp;
+            </td>
+        </tr>
+        <tr>
+            <td>Select a Module :</td>
+        </tr>
+        <tr>
+            <td>
+                <select name="modules">
+                    <%
+
+                        HashMap moduels = (HashMap)request.getSession().getAttribute(Constants.MODULE_MAP);
+                        request.getSession().setAttribute(Constants.MODULE_MAP,null);
+                        Collection moduleCol =  moduels.values();
+                        for (Iterator iterator = moduleCol.iterator(); iterator.hasNext();) {
+                            AxisModule axisOperation = (AxisModule) iterator.next();
+                            String modulename = axisOperation.getName().getLocalPart();
+
+                    %>
+                    <option align="left" value="<%=modulename%>"><%=modulename%>
+                    </option>
+                    <%
+
+                       }
+
+                    %>
+            </td>
+        </tr>
+        <tr>
+            <td>
+                &nbsp;
+                &nbsp;
+            </td>
+        </tr>
+        <tr>
+            <td>Select a Service :</td>
+        </tr>
+        <tr>
+            <td>
+                <select name="axisService">
+                    <%
+
+                        HashMap services = (HashMap)request.getSession().getAttribute(Constants.SERVICE_MAP);
+                        Collection serviceCol =  services.values();
+                        for (Iterator iterator = serviceCol.iterator(); iterator.hasNext();) {
+                            AxisService axisService = (AxisService)iterator.next();
+                            String serviceName = axisService.getName();
+
+                    %>
+                    <option align="left" value="<%=serviceName%>"><%=serviceName%>
+                    </option>
+                    <%
+
+                       }
+                       request.getSession().setAttribute(Constants.SERVICE_MAP,null);
+
+                    %>
+            </td>
+        </tr>
+        <tr>
+            <td>
+                &nbsp;
+                &nbsp;
+            </td>
+        </tr>
+        <tr>
+            <td>
+                <input name="submit" type="submit" value=" Engage ">
+            </td>
+        </tr>
+        <tr>
+            <td>
+                &nbsp;
+                &nbsp;
+            </td>
+        </tr>
+        <tr>
+            <td>
+                &nbsp;
+                &nbsp;
+            </td>
+        </tr>
+        <tr>
+            <td>
                 <textarea cols="50"  <%
-                        if(status == null){
-                           %>
-                            style="display:none"
-                            <%
-                        } %>
-                    ><%=status%></textarea>
-              </td>
-           </tr>
-      </table>
-   </form>
-<jsp:include page="include/adminfooter.jsp"></jsp:include>
+                    if (status == null) {
+                %>
+                          style="display:none"
+                        <%
+                            } %>
+                        ><%=status%>
+                </textarea>
+            </td>
+        </tr>
+    </table>
+</form>
+<jsp:include page="include/adminfooter.jsp">
+</jsp:include>
 

Modified: webservices/axis2/branches/java/1_1/modules/webapp/error.jsp
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/webapp/error.jsp?view=diff&rev=454333&r1=454332&r2=454333
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/webapp/error.jsp (original)
+++ webservices/axis2/branches/java/1_1/modules/webapp/error.jsp Mon Oct  9 03:39:33 2006
@@ -23,7 +23,7 @@
 <jsp:include page="include/adminheader.jsp"></jsp:include>
   <table>
   <tr>
-  <td align="center">An error has occured!. Please check the details below</td>
+  <td align="center">An error has occured!. Please check the details below.</td>
   </tr>
   <tr>
   <td align="center"><%=exception.getMessage()%></td>

Modified: webservices/axis2/branches/java/1_1/modules/webapp/errorModule.jsp
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/webapp/errorModule.jsp?view=diff&rev=454333&r1=454332&r2=454333
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/webapp/errorModule.jsp (original)
+++ webservices/axis2/branches/java/1_1/modules/webapp/errorModule.jsp Mon Oct  9 03:39:33 2006
@@ -1,12 +1,5 @@
 <%@ page import="org.apache.axis2.Constants,
                  java.util.Hashtable"%>
- <%--
-  Created by IntelliJ IDEA.
-  User: me
-  Date: Jun 7, 2005
-  Time: 10:51:02 AM
-  To change this template use File | Settings | File Templates.
---%>
 <%@ page contentType="text/html;charset=UTF-8" language="java" %>
 <jsp:include page="include/adminheader.jsp"></jsp:include>
   <%

Modified: webservices/axis2/branches/java/1_1/modules/webapp/globalModules.jsp
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/webapp/globalModules.jsp?view=diff&rev=454333&r1=454332&r2=454333
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/webapp/globalModules.jsp (original)
+++ webservices/axis2/branches/java/1_1/modules/webapp/globalModules.jsp Mon Oct  9 03:39:33 2006
@@ -17,11 +17,6 @@
 *
 */
 
-/**
- * Author : Deepal Jayasinghe
- * Date: May 26, 2005
- * Time: 7:14:26 PM
- */
         %>
 <%@ page import="org.apache.axis2.Constants,
                  javax.xml.namespace.QName,
@@ -56,7 +51,7 @@
 		}
          } else{
      %>
-     <h2><font color="blue">There is no module engaged globally</font></h2>
+     <h2><font color="blue">There are no modules engaged globally</font></h2>
                  <%
          }
                  %>

Modified: webservices/axis2/branches/java/1_1/modules/webapp/index.jsp
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/webapp/index.jsp?view=diff&rev=454333&r1=454332&r2=454333
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/webapp/index.jsp (original)
+++ webservices/axis2/branches/java/1_1/modules/webapp/index.jsp Mon Oct  9 03:39:33 2006
@@ -19,11 +19,6 @@
     *
     */
 
-/**
- * Author : Deepal Jayasinghe
- * Date: May 26, 2005
- * Time: 7:14:26 PM
- */
   %>
   <head>
     <jsp:include page="include/httpbase.jsp"/>

Modified: webservices/axis2/branches/java/1_1/modules/webapp/listFaultyService.jsp
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/webapp/listFaultyService.jsp?view=diff&rev=454333&r1=454332&r2=454333
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/webapp/listFaultyService.jsp (original)
+++ webservices/axis2/branches/java/1_1/modules/webapp/listFaultyService.jsp Mon Oct  9 03:39:33 2006
@@ -3,7 +3,6 @@
 <%@ page import="org.apache.axis2.description.AxisService"%>
 <%@ page import="java.util.Hashtable"%>
 <%@ page import="java.util.Iterator"%>
-<%@ page import="org.apache.axis2.transport.http.AxisServlet"%>
 <%@ page contentType="text/html;charset=UTF-8" language="java" %>
 <html>
   <head>
@@ -52,14 +51,13 @@
             while (opItr.hasNext()) {
                 AxisOperation axisOperation = (AxisOperation) opItr.next();
                 %><li><%=axisOperation.getName().getLocalPart()%></li>
-<%--                <br>Operation EPR : <%=prifix + axisService.getName().getLocalPart() + "/"+ axisOperation.getName().getLocalPart()%>--%>
                 <%
             }
            %></ul>
            <%
                     } else{
                            %>
-                <h3><font color="red" >No service found in this location</font></h3>
+                <h3><font color="red" >No services are found in this location</font></h3>
  <%
                     }
 

Modified: webservices/axis2/branches/java/1_1/modules/webapp/listGroupService.jsp
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/webapp/listGroupService.jsp?view=diff&rev=454333&r1=454332&r2=454333
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/webapp/listGroupService.jsp (original)
+++ webservices/axis2/branches/java/1_1/modules/webapp/listGroupService.jsp Mon Oct  9 03:39:33 2006
@@ -5,7 +5,6 @@
 <%@ page import="java.util.Collection" %>
 <%@ page import="java.util.HashMap" %>
 <%@ page import="java.util.Iterator" %>
-<%@ page import="org.apache.axis2.transport.http.AxisServlet"%>
 <%@ page contentType="text/html;charset=UTF-8" language="java" %>
 <html>
 <head>
@@ -43,7 +42,7 @@
   String moduleName;
   if (engagedModules.size() > 0) {
 %>
-<i>Engaged Modules for the axisService</i><ul>
+<i>Engaged Modules for the Axis Service</i><ul>
   <%
     for (Iterator iteratorm = engagedModules.iterator(); iteratorm.hasNext();) {
       AxisModule axisOperation = (AxisModule) iteratorm.next();



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org