summaryrefslogtreecommitdiffstats
path: root/sandbox/thilina/geronimo_ACE/src/main/webapp/pages/Standalone.jsp
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2008-08-18 12:01:31 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2008-08-18 12:01:31 +0000
commitef7c2424929d86cd59c0197729901bee89d67221 (patch)
tree86d8fcfb56db171d0c62d809079757b7e85d3ba6 /sandbox/thilina/geronimo_ACE/src/main/webapp/pages/Standalone.jsp
parent70aa266cc4504b9a813e74e7faa542ba0f40e692 (diff)
TUSCANY-2391: apply latest patch from Thilina for Tuscany SCA support in the Geronimo Admin Console
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@686733 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/thilina/geronimo_ACE/src/main/webapp/pages/Standalone.jsp')
-rw-r--r--sandbox/thilina/geronimo_ACE/src/main/webapp/pages/Standalone.jsp107
1 files changed, 86 insertions, 21 deletions
diff --git a/sandbox/thilina/geronimo_ACE/src/main/webapp/pages/Standalone.jsp b/sandbox/thilina/geronimo_ACE/src/main/webapp/pages/Standalone.jsp
index 120d7583eb..feaf41d156 100644
--- a/sandbox/thilina/geronimo_ACE/src/main/webapp/pages/Standalone.jsp
+++ b/sandbox/thilina/geronimo_ACE/src/main/webapp/pages/Standalone.jsp
@@ -1,25 +1,90 @@
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="header.jsp" %>
<html>
- <head><title>Simple jsp page</title></head>
- <body>
- <form id="form1" name="form1" method="post" action="<portlet:actionURL/>">
- <table>
- <tr>
- <td>Contribution Location :</td>
- <td><input type="text" name="contributionLocation" size="100"/></td>
- </tr>
- <tr>
- <td>Name of the node :</td>
- <td><input type="text" name="nodeName" size="100"/></td>
- </tr>
- <tr>
- <td>Composite :</td>
- <td><input type="text" name="composite" size="100"/></td>
- </tr>
- </table>
- <input type="submit" name="addStandaloneNode" value="start"/>
- </form>
-
- </body>
+<head><title>Simple jsp page</title></head>
+<body>
+
+
+<form id="form1" name="form1" method="post" action="<portlet:actionURL/>">
+
+ <table>
+
+ <tr>
+ <td>Contribution Location :</td>
+ <td><input type="text" name="contributionLocation" size="100"/></td>
+ </tr>
+ <tr>
+ <td>Name of the node :</td>
+ <td><input type="text" name="nodeName" size="100"/></td>
+ </tr>
+ <tr>
+ <td>Composite :</td>
+ <td><input type="text" name="composite" size="100"/></td>
+ </tr>
+
+ <br><br>
+ </table>
+
+ <input type="submit" name="addStandaloneNode" value="start"/>
+
+</form>
+
+<form id="form2" name="form2" method="post" action="<portlet:actionURL/>">
+ <table width="100%">
+ <thead><b> Manage Nodes</b></thead>
+
+ <tbody>
+ <tr>
+ <th>Node</th>
+ <th>Contributions</th>
+ <th>Start Node</th>
+ <th>stop Node</th>
+ </tr>
+ <% ManageNodes mNodes = (ManageNodes) application.getAttribute("managenodes");
+ List<LocalNode> nodeSet = mNodes.getNodeSet();
+ Iterator<LocalNode> iterator = nodeSet.iterator();
+ if (iterator.hasNext() == false) { %>
+
+
+ <tr>
+ <td>
+
+ </td>
+ </tr>
+ <%
+ }
+ while (iterator.hasNext()) {
+ LocalNode temp = iterator.next();
+
+ %>
+ <tr>
+ <td>
+ <%=
+ temp.getName()
+ %>
+ </td>
+
+ <td>
+ <table>
+ <% Iterator<SCAContribution> contributionList = temp.getContributionList().iterator();
+ while (contributionList.hasNext()) { %>
+
+ <tr>
+ <%=contributionList.next().getLocation()%>
+ </tr>
+ <br>
+ <%
+ } %></table>
+ </td>
+ <td><input type="hidden" name="nodeName" value=<%=temp.getName()%>/></td>
+ <td><input type="submit" name="StartStandaloneNode" value="start"/></td>
+ <td><input type="submit" name="StopStandaloneNode" value="stop"/></td>
+ </tr>
+ <%
+ }
+ %>
+ </tbody>
+ </table>
+</form>
+</body>
</html> \ No newline at end of file