geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlaskow...@apache.org
Subject svn commit: r393787 [18/22] - in /geronimo/trunk/applications: ./ console/ console/console-core/ console/console-core/src/ console/console-core/src/java/ console/console-core/src/java/org/ console/console-core/src/java/org/apache/ console/console-core/...
Date Thu, 13 Apr 2006 11:36:26 GMT
Added: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/createdestination.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/createdestination.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/createdestination.jsp (added)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/createdestination.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1,91 @@
+       <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+       <%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
+       <portlet:defineObjects/>
+		<script language="JavaScript">
+		var <portlet:namespace/>formName = "<portlet:namespace/>createDestinationForm";
+		var <portlet:namespace/>requiredFields = new Array("destinationMessageDestinationName","destinationPhysicalName");
+		function <portlet:namespace/>validateForm(){
+		    return (textElementsNotEmpty(<portlet:namespace/>formName,<portlet:namespace/>requiredFields));
+		}
+		</script>
+
+       <script>
+
+       function <portlet:namespace/>backToDestinationList(){
+
+              document.<portlet:namespace/>createDestinationForm.action = "<portlet:renderURL portletMode="view"><portlet:param name="processAction" value="viewDestinations"/></portlet:renderURL>";
+              document.<portlet:namespace/>createDestinationForm.submit();
+
+           return true;
+       }
+       </script>
+
+       <br>
+
+        <form name="<portlet:namespace/>createDestinationForm" action="<portlet:actionURL portletMode="view"/>" >
+        <input type=hidden name="processaction" value="createDestination"  >
+       <table>
+
+       <tr>
+         <th colspan="2" align=LEFT>
+            Add Queue/Topic
+         </th>
+
+       </tr>
+         <tr>
+             <td  align=LEFT>
+                  Message Destination Name
+             </td>
+             <td  align=LEFT>
+                   <input type="text" name="destinationMessageDestinationName" value=""/>
+             </td>
+         </tr>
+         <tr>
+             <td  align=LEFT>
+                   Destination Physical Name
+             </td>
+             <td  align=LEFT>
+                   <input type="text" name="destinationPhysicalName" value=""/>
+             </td>
+         </tr>
+         <tr>
+             <td  align=LEFT>
+                   Type
+             </td>
+             <td  align=LEFT>
+               <select name="destinationType">
+                  <option value="javax.jms.Queue" selected="true" >QUEUE</option>
+                  <option value="javax.jms.Topic" >TOPIC</option>
+               </select>
+             </td>
+         </tr>
+         <tr>
+             <td  align=LEFT>
+                   Application Name
+             </td>
+             <td  align=LEFT>
+                   <input type="text" name="destinationApplicationName" value="null"/>
+               </select>
+             </td>
+         </tr>
+         <tr>
+             <td  align=LEFT>
+                    Module Name
+             </td>
+             <td  align=LEFT>
+                   <input type="text" name="destinationModuleName" value="defaultJMS"/>
+               </select>
+             </td>
+         </tr>
+         <tr>
+                <td colspan="2" align="center" class="formElement">
+    			<input type="submit" value="Submit" 
+	                onclick="return <portlet:namespace/>validateForm()">
+ 				<input type="reset" value="Clear"> 
+				<input type="submit" value="Back"  onClick="<portlet:namespace/>backToDestinationList();">
+                </td>
+         </tr>
+        </table>
+
+        </form>
+

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/createdestination.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/createdestination.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/createdestination.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/edit.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/edit.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/edit.jsp (added)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/edit.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1 @@
+<%@ include file="createdestination.jsp" %>
\ No newline at end of file

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/edit.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/edit.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/edit.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/help.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/help.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/help.jsp (added)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/help.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1,41 @@
+
+
+<p>This portlet is used to create and remove queues/topics.</p>
+<p><span style="font-size: 10px; color: #546BC7; text-decoration: underline; font-weight: bold;">Add Queue/Topic</span></p>
+<p>To create a queue/topic click on the &quot;Add Queue/Topic&quot; link. This link brings up a form that allows the user to add a queue or a topic. Fill in the text boxes on the form and click on the &quot;Submit&quot; button. The fields and buttons on the form are defined as follows:</p>
+<table width="100%"  border="0" cellspacing="0" cellpadding="0">
+  <tr>
+    <td width="150" align="right" valign="top" class="MediumBackground" style="padding: 10px 10px 5px 10px"><strong>Message Destination Name</strong></td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px" valign="top">The name of the queue or topic. This is the name used in the admin object gbean name and is linked to by &lt;message-destination-link&gt; in the geronimo-web.xml plan.</td>
+  </tr>
+  <tr>
+    <td width="150" align="right" valign="top" class="MediumBackground" style="padding: 10px 10px 5px 10px"><strong>Destination Physical Name</strong></td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px" valign="top">The name of the connection factory that ActiveMQ knows about.</td>
+  </tr>
+  <tr>
+    <td width="150" align="right" valign="top" class="MediumBackground" style="padding: 10px 10px 5px 10px"><strong>Type</strong></td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px" valign="top">The type of message, either queue or topic.</td>
+  </tr>
+  <tr>
+    <td width="150" align="right" valign="top" class="MediumBackground" style="padding: 10px 10px 5px 10px"><strong>Application Name</strong></td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px" valign="top">This is the &quot;configID&quot; in the geronimo-web.xml file. Or this can be set to the string &quot;null&quot; if the admin object is deployed stand-alone. By default this field contains the string &quot;null.&quot;</td>
+  </tr>
+  <tr>
+    <td width="150" align="right" valign="top" class="MediumBackground" style="padding: 10px 10px 5px 10px"><strong>Module Name</strong></td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px" valign="top">If the module is deployed stand-alone this field is the &quot;configID&quot; in the geronimo-web.xml file. If it is deployed in an application (ear) this field should be the path of the module inside the ear, such as, myResourceAdapter.rar. By default this field contains &quot;defaultJMS.&quot;</td>
+  </tr>
+  <tr>
+    <td width="150" align="right" valign="top" class="MediumBackground" style="padding: 10px 10px 5px 10px"><img src="/console/images/submit.gif" /></td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px" valign="top">Creates new queue or topic and returns the user to the JMS Destination Manager main page.</td>
+  </tr>
+  <tr>
+    <td width="150" align="right" valign="top" class="MediumBackground" style="padding: 10px 10px 5px 10px"><img src="/console/images/clear.gif" /></td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px" valign="top">Clears all fields and resets them to the defaults.</td>
+  </tr>
+  <tr>
+    <td width="150" align="right" valign="top" class="MediumBackground" style="padding: 10px 10px 5px 10px"><img src="/console/images/back.gif" /></td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px" valign="top">Returns the user to the &quot;JMS Destination Manager&quot; main page without adding a queue or a topic.</td>
+  </tr>
+</table>
+<p>On the main JMS Destination Manager pane, there is an &quot;Actions&quot; column that provides three actions which can be performed on a queue or topic. To remove a queue or topic, click on the &quot;remove&quot; link to the right of the queue/topic to be removed. To view a message, click on the &quot;view messages&quot; link to the right of the queue/topic. To view the dead letter queue, click on the &quot;view DLQ&quot; link.</p>
+<p> <strong>Note:</strong> Queues/Topics with no messages will be removed after restarting the server.</p>

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/help.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/help.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/help.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/connector/editGeneric.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/connector/editGeneric.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/connector/editGeneric.jsp (added)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/connector/editGeneric.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1,60 @@
+<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
+<%@ taglib prefix="portlet" uri="http://java.sun.com/portlet" %>
+<portlet:defineObjects/>
+
+<form name="<portlet:namespace/>" action="<portlet:actionURL/>">
+<input type="hidden" name="mode" value="${mode}">
+<input type="hidden" name="protocol" value="${protocol}">
+<c:choose>
+<c:when test="${mode eq 'save'}">
+  <input type="hidden" name="objectName" value="${objectName}">
+</c:when>
+<c:otherwise>
+  <input type="hidden" name="brokerName" value="${brokerName}">
+</c:otherwise>
+</c:choose>
+<table width="100%%"  border="0">
+
+<!-- Name Field -->
+<c:if test="${mode eq 'add'}">
+  <tr>
+    <td><div align="right">Unique Name: </div></td>
+    <td><input name="name" type="text" size="30"></td>
+  </tr>
+  <tr>
+    <td><div align="right"></div></td>
+    <td>A name that is different than the name for any other JMS connectors in the server</td>
+  </tr>
+</c:if>
+<!-- Host Field -->
+  <tr>
+    <td><div align="right">Host: </div></td>
+    <td>
+      <input name="host" type="text" size="30" value="${host}">
+    </td>
+  </tr>
+  <tr>
+    <td><div align="right"></div></td>
+    <td>The host name or IP to bind to.  The normal values are <tt>0.0.0.0</tt> (all interfaces) or <tt>localhost</tt> (local connections only)</td>
+  </tr>
+<!-- Port Field -->
+  <tr>
+    <td><div align="right">Port: </div></td>
+    <td>
+      <input name="port" type="text" size="5" value="${port}">
+	</td>
+  </tr>
+  <tr>
+    <td><div align="right"></div></td>
+    <td>The network port to bind to.</td>
+  </tr>
+<!-- Submit Button -->
+  <tr>
+    <td><div align="right"></div></td>
+    <td><input name="submit" type="submit" value="Save"></td>
+  </tr>
+</table>
+</form>
+<a href='<portlet:actionURL portletMode="view">
+           <portlet:param name="mode" value="list" />
+         </portlet:actionURL>'>List JMS connectors</a>
\ No newline at end of file

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/connector/editGeneric.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/connector/editGeneric.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/connector/editGeneric.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/connector/help.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/connector/help.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/connector/help.jsp (added)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/connector/help.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1,2 @@
+<p>Shows all the network connectors configured for the currently available JMS brokers.
+Lets you start, stop, add, remove, and edit JMS network connectors.</p>
\ No newline at end of file

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/connector/help.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/connector/help.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/connector/help.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/connector/maximized.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/connector/maximized.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/connector/maximized.jsp (added)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/connector/maximized.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1 @@
+<%@ include file="normal.jsp" %>
\ No newline at end of file

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/connector/maximized.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/connector/maximized.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/connector/maximized.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/connector/normal.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/connector/normal.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/connector/normal.jsp (added)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/connector/normal.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1,68 @@
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
+<portlet:defineObjects/>
+
+<p>Currently available JMS network connectors:</p>
+
+<!-- Show existing connectors -->
+<c:if test="${empty(connectors)}">There are no JMS network connectors defined</c:if>
+<c:if test="${!empty(connectors)}">
+<table width="100%">
+  <tr>
+    <td style="padding: 0 20px">
+          <tr>
+            <td class="DarkBackground">Name</td>
+            <td class="DarkBackground" align="center">Broker</td>
+            <td class="DarkBackground" align="center">Protocol</td>
+            <td class="DarkBackground" align="center">Port</td>
+            <td class="DarkBackground" align="center">State</td>
+            <td class="DarkBackground" align="center">Actions</td>
+          </tr>
+<c:forEach var="info" items="${connectors}">
+          <tr>
+            <td>${info.displayName}</td>
+            <td>${info.brokerName}</td>
+            <td>${info.connector.protocol}</td>
+            <td>${info.connector.port}</td>
+            <td>${info.connector.stateInstance}</td>
+            <td>
+             <c:choose>
+               <c:when test="${info.connector.stateInstance.name eq 'running'}">
+               <a href="<portlet:actionURL portletMode="view">
+                 <portlet:param name="mode" value="stop" />
+                 <portlet:param name="objectName" value="${info.connector.objectName}" />
+               </portlet:actionURL>">stop</a>
+               </c:when>
+               <c:otherwise>
+               <a href="<portlet:actionURL portletMode="view">
+                 <portlet:param name="mode" value="start" />
+                 <portlet:param name="objectName" value="${info.connector.objectName}" />
+               </portlet:actionURL>">start</a>
+               </c:otherwise>
+             </c:choose>
+               <a href="<portlet:actionURL portletMode="view">
+                 <portlet:param name="mode" value="edit" />
+                 <portlet:param name="objectName" value="${info.connector.objectName}" />
+               </portlet:actionURL>">edit</a>
+               <a href="<portlet:actionURL portletMode="view">
+                 <portlet:param name="mode" value="delete" />
+                 <portlet:param name="objectName" value="${info.connector.objectName}" />
+               </portlet:actionURL>">delete</a>
+             </td>
+          </tr>
+</c:forEach>
+</table>
+</c:if>
+
+<!-- Links to add new connectors -->
+<c:forEach var="entry" items="${brokers}">
+<p>Add connector to ${entry.key}:</p>
+<ul>
+<c:forEach var="protocol" items="${protocols}">
+<li><a href="<portlet:actionURL portletMode="view">
+           <portlet:param name="mode" value="new" />
+           <portlet:param name="brokerName" value="${entry.value.objectName}" />
+           <portlet:param name="protocol" value="${protocol}" />
+         </portlet:actionURL>">Add new <b>${protocol}</b> listener</a></li>
+</c:forEach>
+</c:forEach>
\ No newline at end of file

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/connector/normal.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/connector/normal.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/connector/normal.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/help.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/help.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/help.jsp (added)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/help.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1,2 @@
+<p>Shows the available JMS brokers</p>
+<p>&nbsp;</p>

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/help.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/help.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/help.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/maximized.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/maximized.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/maximized.jsp (added)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/maximized.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1 @@
+<%@ include file="normal.jsp" %>
\ No newline at end of file

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/maximized.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/maximized.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/maximized.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/normal.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/normal.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/normal.jsp (added)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/normal.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1,58 @@
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
+<portlet:defineObjects/>
+
+<p>The JMS brokers available in the server are:</p>
+
+<!-- Show existing connectors -->
+<c:if test="${empty(brokers)}">There are no JMS brokers defined</c:if>
+<c:if test="${!empty(brokers)}">
+<table width="50%">
+  <tr><td style="padding: 0 20px"></td></tr>
+          <tr>
+            <td class="DarkBackground">Name</td>
+            <td class="DarkBackground" align="center">State</td>
+<!--
+            <td class="DarkBackground" align="center">Actions</td>
+-->
+          </tr>
+<c:forEach var="entry" items="${brokers}">
+          <tr>
+            <td>${entry.key}</td>
+            <td>${entry.value.stateInstance}</td>
+<!--
+            <td>
+             <c:choose>
+               <c:when test="${entry.value.stateInstance.name eq 'running'}">
+               <a href="<portlet:actionURL portletMode="view">
+                 <portlet:param name="mode" value="stop" />
+                 <portlet:param name="objectName" value="${entry.value.objectName}" />
+               </portlet:actionURL>">stop</a>
+               </c:when>
+               <c:otherwise>
+               <a href="<portlet:actionURL portletMode="view">
+                 <portlet:param name="mode" value="start" />
+                 <portlet:param name="objectName" value="${entry.value.objectName}" />
+               </portlet:actionURL>">start</a>
+               </c:otherwise>
+             </c:choose>
+               <a href="<portlet:actionURL portletMode="view">
+                 <portlet:param name="mode" value="edit" />
+                 <portlet:param name="objectName" value="${entry.value.objectName}" />
+               </portlet:actionURL>">edit</a>
+               <a href="<portlet:actionURL portletMode="view">
+                 <portlet:param name="mode" value="delete" />
+                 <portlet:param name="objectName" value="${entry.value.objectName}" />
+               </portlet:actionURL>">delete</a>
+             </td>
+-->
+          </tr>
+</c:forEach>
+</table>
+</c:if>
+<!--
+<br />
+<a href="<portlet:actionURL portletMode="view">
+           <portlet:param name="mode" value="new" />
+         </portlet:actionURL>">Add new JMS Broker</a>
+-->
\ No newline at end of file

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/normal.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/normal.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/server/normal.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/statistics.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/statistics.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/statistics.jsp (added)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/statistics.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1,52 @@
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
+<portlet:defineObjects/>
+
+<br>
+<a href="<portlet:renderURL portletMode="view"><portlet:param name="processAction" value="viewDestinations"/></portlet:renderURL>">Back To Destination List </a>
+<br><br>
+ <table width="100%">
+        <tr>
+           <th colspan="2"> Statisctic for <c:out value="${statistics.destinationName}"/></th>
+        </tr>
+        <tr>
+            <td width="250">Description</td>
+            <td width="200"><c:out value="${statistics.description}"/></td>
+        </tr>
+        <tr>
+            <td width="250">Current Depth</td>
+            <td width="200"><c:out value="${statistics.currentDepth}"/></td>
+        </tr>
+        <tr>
+            <td width="250">Open Output Count</td>
+            <td width="200"><c:out value="${statistics.openOutputCount}"/></td>
+        </tr>
+        <tr>
+            <td width="250">Open Input Count</td>
+            <td width="200"><c:out value="${statistics.openInputCount}"/></td>
+        </tr>
+        <tr>
+            <td width="250">Inhibit Get</td>
+            <td width="200"><c:out value="${statistics.inhibitGet}"/></td>
+        </tr>
+        <tr>
+            <td width="250">Inhibit Put</td>
+            <td width="200"><c:out value="${statistics.inhibitPut}"/></td>
+        </tr>
+        <tr>
+            <td width="250">Sharable</td>
+            <td width="200"><c:out value="${statistics.sharable}"/></td>
+        </tr>
+        <tr>
+            <td width="250">Maximum Depth</td>
+            <td width="200"><c:out value="${statistics.maximumDepth}"/></td>
+        </tr>
+        <tr>
+            <td width="250">Trigger Control</td>
+            <td width="200"><c:out value="${statistics.triggerControl}"/></td>
+        </tr>
+        <tr>
+            <td width="250">Maximum Message Length</td>
+            <td width="200"><c:out value="${statistics.maximumMessageLength}"/></td>
+        </tr>
+</table>
\ No newline at end of file

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/statistics.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/statistics.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/statistics.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/view.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/view.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/view.jsp (added)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/view.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1,82 @@
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
+<portlet:defineObjects/>
+
+<br>
+<table>
+<!--
+<tr>
+<td align=LEFT colspan="3"> <a href="<portlet:renderURL portletMode="view"><portlet:param name="processAction" value="createDestination"/></portlet:renderURL>">Add Queue/Topic </a> </td>
+</tr>
+-->
+<c:if test="${!destinationsMsg}">
+
+   <tr>
+      <td colspan="3">${destinationsMsg}</td>
+   </tr>
+
+</c:if>
+<tr>
+  <th>
+     Message Destination Name
+  </th>
+  <th>
+     Physical Name
+  </th>
+  <th>
+     Type
+  </th>
+  <th>
+     Application Name
+  </th>
+  <th>
+     Module Name
+  </th>
+  <th>
+     Actions
+  </th>
+</tr>
+  <c:forEach var="destination" items="${destinations}">
+  <tr>
+      <td  align=CENTER>
+            <c:out value="${destination.name}"/>
+      </td>
+      <td  align=CENTER>
+            <c:out value="${destination.physicalName}"/>
+      </td>
+      <td  align=CENTER>
+            <c:out value="${destination.type}"/>
+            &nbsp;
+      </td>
+      <td  align=CENTER>
+            <c:out value="${destination.applicationName}"/>
+      </td>
+      <td  align=CENTER>
+            <c:out value="${destination.moduleName}"/>
+      </td>
+      <td  align=CENTER>
+		<table border="0">
+		<tr>
+         <td>
+		<c:if test="${destination.removable}">
+         <a href="<portlet:actionURL portletMode="view"><portlet:param name="processaction" value="removeDestination"/><portlet:param name="destinationConfigURI" value="${destination.configURI}"/><portlet:param name="destinationType" value="${destination.type}"/></portlet:actionURL>">remove </a>
+         </c:if>
+         </td>
+         <!--a href="<portlet:actionURL portletMode="view"><portlet:param name="processaction" value="statistics"/><portlet:param name="destinationName" value="${destination.name}"/><portlet:param name="destinationType" value="${destination.type}"/></portlet:actionURL>">statistics</a-->
+         <td>
+		<c:if test="${destination.viewable}">
+         <a href="<portlet:renderURL portletMode="view"><portlet:param name="processAction" value="viewMessages"/><portlet:param name="destinationName" value="${destination.name}"/><portlet:param name="destinationApplicationName" value="${destination.applicationName}"/><portlet:param name="destinationModuleName" value="${destination.moduleName}"/><portlet:param name="destinationType" value="${destination.type}"/></portlet:renderURL>">view messages</a>
+         </c:if>
+         </td>
+         <td>
+		<c:if test="${destination.viewable}">
+         <a href="<portlet:renderURL portletMode="view"><portlet:param name="processAction" value="viewDLQ"/><portlet:param name="destinationName" value="${destination.name}"/><portlet:param name="destinationApplicationName" value="${destination.applicationName}"/><portlet:param name="destinationModuleName" value="${destination.moduleName}"/><portlet:param name="destinationType" value="${destination.type}"/></portlet:renderURL>">view DLQ</a></td>
+         </c:if>
+		</tr>		
+		</table>
+
+      </td>
+
+  </tr>
+  </c:forEach>
+ </table>
\ No newline at end of file

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/view.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/view.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/view.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/viewDLQ.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/viewDLQ.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/viewDLQ.jsp (added)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/viewDLQ.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1,57 @@
+<%@ page import="javax.jms.Message" %>
+<%@ page import="java.util.List" %>
+<%@ page import="java.util.Iterator" %>
+
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
+
+<br>
+
+<strong>Dead Letter Queue Name: </strong><%=request.getAttribute("dlqname")%>
+<br>
+<table cellpadding="1" width="100%"> 	
+	<tr>
+		<td class="DarkBackground" align="center"><b>Priority</b></td>
+		<td class="DarkBackground" align="center"><b>MessageID</b></td>
+		<td class="DarkBackground" align="center"><b>Destination</b></td>
+		<td class="DarkBackground" align="center"><b>Timestamp</b></td>
+		<td class="DarkBackground" align="center"><b>Expiration</b></td>			
+		<td class="DarkBackground" align="center"><b>Type</b></td>
+		<td class="DarkBackground" align="center"><b>ReplyTo</b></td>
+		<td class="DarkBackground" align="center"><b>CorrelationID</b></td>
+	</tr>
+	<c:choose>
+		<c:when test="${fn:length(messages) > 0}"> 
+		<% 
+		String[] styles = {"LightBackground","MediumBackground"};
+        List messages = (List)request.getAttribute("dlqcontents");
+		int n = 0;
+		for(Iterator i = messages.iterator();i.hasNext();n++){
+			Message message = (Message)i.next();
+        %>
+
+  			<tr>
+      			<td class="<%=styles[n%2]%>" align="center"><%=message.getJMSPriority()%></td>
+      			<td class="<%=styles[n%2]%>" align="center"><%=message.getJMSMessageID()%></td>
+      			<td class="<%=styles[n%2]%>" align="center"><%=message.getJMSDestination()%></td>
+      			<td class="<%=styles[n%2]%>" align="center"><%=new java.util.Date(message.getJMSTimestamp())%></td>
+				<td class="<%=styles[n%2]%>" align="center">
+				<%=(message.getJMSExpiration()!=0)?new java.util.Date(message.getJMSExpiration()).toString():"No expiration"%>
+				</td>
+      			<td class="<%=styles[n%2]%>" align="center"><%=message.getJMSType()%></td>
+      			<td class="<%=styles[n%2]%>" align="center"><%=message.getJMSReplyTo()%></td>
+      			<td class="<%=styles[n%2]%>" align="center"><%=message.getJMSCorrelationID()%></td>
+			</tr>
+		<%}%>
+       	</c:when>
+		<c:otherwise>
+		<tr>	
+			<td colspan="8" align="center">No messages in dead letter queue.</td>
+		</tr>
+       	</c:otherwise>
+	</c:choose>
+		<tr>	
+			<td colspan="8" align="center"><a href="<portlet:renderURL/>">Back</a> <a href="">Refresh</a></td>
+		</tr>
+</table>
\ No newline at end of file

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/viewDLQ.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/viewDLQ.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/viewDLQ.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/viewmessages.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/viewmessages.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/viewmessages.jsp (added)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/viewmessages.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1,54 @@
+<%@ page import="javax.jms.Message" %>
+<%@ page import="java.util.List" %>
+<%@ page import="java.util.Iterator" %>
+
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
+
+<br>
+<table cellpadding="1" width="100%"> 	
+	<tr>
+		<td class="DarkBackground" align="center"><b>Priority</b></td>
+		<td class="DarkBackground" align="center"><b>MessageID</b></td>
+		<td class="DarkBackground" align="center"><b>Destination</b></td>
+		<td class="DarkBackground" align="center"><b>Timestamp</b></td>
+		<td class="DarkBackground" align="center"><b>Expiration</b></td>			
+		<td class="DarkBackground" align="center"><b>Type</b></td>
+		<td class="DarkBackground" align="center"><b>ReplyTo</b></td>
+		<td class="DarkBackground" align="center"><b>CorrelationID</b></td>
+	</tr>
+	<c:choose>
+		<c:when test="${fn:length(messages) > 0}"> 
+		<% 
+		String[] styles = {"LightBackground","MediumBackground"};
+        List messages = (List)request.getAttribute("messages");
+		int n = 0;
+		for(Iterator i = messages.iterator();i.hasNext();n++){
+			Message message = (Message)i.next();
+        %>
+
+  			<tr>
+      			<td class="<%=styles[n%2]%>" align="center"><%=message.getJMSPriority()%></td>
+      			<td class="<%=styles[n%2]%>" align="center"><%=message.getJMSMessageID()%></td>
+      			<td class="<%=styles[n%2]%>" align="center"><%=message.getJMSDestination()%></td>
+      			<td class="<%=styles[n%2]%>" align="center"><%=new java.util.Date(message.getJMSTimestamp())%></td>
+				<td class="<%=styles[n%2]%>" align="center">
+				<%=(message.getJMSExpiration()!=0)?new java.util.Date(message.getJMSExpiration()).toString():"No expiration"%>
+				</td>
+      			<td class="<%=styles[n%2]%>" align="center"><%=message.getJMSType()%></td>
+      			<td class="<%=styles[n%2]%>" align="center"><%=message.getJMSReplyTo()%></td>
+      			<td class="<%=styles[n%2]%>" align="center"><%=message.getJMSCorrelationID()%></td>
+			</tr>
+		<%}%>
+       	</c:when>
+		<c:otherwise>
+		<tr>	
+			<td colspan="8" align="center">No messages in destination.</td>
+		</tr>
+       	</c:otherwise>
+	</c:choose>
+		<tr>	
+			<td colspan="8" align="center"><a href="<portlet:renderURL/>">Back</a> <a href="">Refresh</a></td>
+		</tr>
+</table>
\ No newline at end of file

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/viewmessages.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/viewmessages.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/viewmessages.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmswizard/destination.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmswizard/destination.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmswizard/destination.jsp (added)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmswizard/destination.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1,130 @@
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
+<portlet:defineObjects/>
+
+<p><b>JMS Resource Group</b> -- Configure Destination</p>
+
+<!--   FORM TO COLLECT DATA FOR THIS PAGE   -->
+<form name="<portlet:namespace/>JMSForm" action="<portlet:actionURL/>" method="POST">
+    <input type="hidden" name="mode" value="destination-after" />
+    <input type="hidden" name="rar" value="${data.rarURI}" />
+    <input type="hidden" name="dependency" value="${data.dependency}" />
+    <input type="hidden" name="instanceName" value="${data.instanceName}" />
+    <input type="hidden" name="workManager" value="${data.workManager}" /> <%-- todo: pick list for WorkManager --%>
+    <c:forEach var="prop" items="${data.instanceProps}">
+      <input type="hidden" name="${prop.key}" value="${prop.value}" />
+    </c:forEach>
+    <input type="hidden" name="currentFactoryID" value="${data.currentFactoryID}" />
+    <input type="hidden" name="currentDestinationID" value="${data.currentDestinationID}" />
+    <input type="hidden" name="factoryType" value="${data.factoryType}" />
+    <input type="hidden" name="destinationType" value="${data.destinationType}" />
+    <c:forEach var="factory" items="${data.connectionFactories}" varStatus="status">
+      <input type="hidden" name="factory.${status.index}.factoryType" value="${factory.factoryType}" />
+      <input type="hidden" name="factory.${status.index}.instanceName" value="${factory.instanceName}" />
+      <input type="hidden" name="factory.${status.index}.transaction" value="${factory.transaction}" />
+      <input type="hidden" name="factory.${status.index}.xaTransaction" value="${factory.xaTransactionCaching}" />
+      <input type="hidden" name="factory.${status.index}.xaThread" value="${factory.xaThreadCaching}" />
+      <input type="hidden" name="factory.${status.index}.poolMinSize" value="${factory.poolMinSize}" />
+      <input type="hidden" name="factory.${status.index}.poolMaxSize" value="${factory.poolMaxSize}" />
+      <input type="hidden" name="factory.${status.index}.poolIdleTimeout" value="${factory.poolIdleTimeout}" />
+      <input type="hidden" name="factory.${status.index}.poolBlockingTimeout" value="${factory.poolBlockingTimeout}" />
+      <c:forEach var="prop" items="${factory.instanceProps}">
+        <input type="hidden" name="factory.${status.index}.${prop.key}" value="${prop.value}" />
+      </c:forEach>
+    </c:forEach>
+    <c:forEach var="dest" items="${data.adminObjects}" varStatus="status">
+      <input type="hidden" name="destination.${status.index}.destinationType" value="${dest.destinationType}" />
+      <c:if test="${status.index != data.currentDestinationID}">
+        <input type="hidden" name="destination.${status.index}.name" value="${dest.name}" />
+        <c:forEach var="prop" items="${dest.instanceProps}">
+          <input type="hidden" name="destination.${status.index}.${prop.key}" value="${prop.value}" />
+        </c:forEach>
+      </c:if>
+    </c:forEach>
+    <table border="0">
+    <!-- ENTRY FIELD: Admin Object Name -->
+      <tr>
+        <th><div align="right">Message Destination Name:</div></th>
+        <td><input name="destination.${data.currentDestinationID}.name" type="text" size="20" value="${data.currentDestination.name}" /></td>
+      </tr>
+      <tr>
+        <td></td>
+        <td>A unique name for the connection factory; used to refer to this connection
+            factory when mapping resource references from application components.</td>
+      </tr>
+
+    <!-- ENTRY FIELD: Config Properties -->
+<c:if test="${!empty(provider.adminObjectDefinitions[data.destinationType].configProperties)}">
+      <tr>
+        <th colspan="2">Destination Configuration Settings</th>
+      </tr>
+  <c:forEach var="prop" items="${provider.adminObjectDefinitions[data.destinationType].configProperties}" varStatus="status">
+      <c:set var="index" value="instance-config-${status.index}" />
+      <tr>
+        <th><div align="right">${prop.name}:</div></th>
+        <td><input name="destination.${data.currentDestinationID}.instance-config-${status.index}" type="text" size="20" value="${data.currentDestination.instanceProps[index] == null ? prop.defaultValue : data.currentDestination.instanceProps[index]}" /></td>
+      </tr>
+      <tr>
+        <td></td>
+        <td><c:out value="${prop.description}" /></td>
+      </tr>
+  </c:forEach>
+</c:if>
+    <!-- SUBMIT BUTTON -->
+      <tr>
+        <td></td>
+        <td>
+            <input type="hidden" name="nextAction" value="review" />
+            <input type="submit" value="Next" />
+        </td>
+      </tr>
+    </table>
+</form>
+<!--   END OF FORM TO COLLECT DATA FOR THIS PAGE   -->
+
+
+<p><b>Current Status for JMS Resource Group <c:out value="${data.instanceName}" /></b></p>
+<ul>
+  <li><c:out value="${data.connectionFactoryCount}" /> Connection Factor<c:choose><c:when test="${data.connectionFactoryCount == 1}">y</c:when><c:otherwise>ies</c:otherwise></c:choose>
+      <c:if test="${data.connectionFactoryCount > 0}">
+          <ul>
+              <c:forEach var="factory" items="${data.connectionFactories}">
+                  <li>
+                      <c:choose>
+                          <c:when test="${empty(factory.instanceName)}">
+                              <i>In Process</i>
+                          </c:when>
+                          <c:otherwise>
+                              <c:out value="${factory.instanceName}" />
+                          </c:otherwise>
+                      </c:choose>
+                  </li>
+              </c:forEach>
+          </ul>
+      </c:if>
+  </li>
+  <li><c:out value="${data.destinationCount}" /> Destination<c:if test="${data.destinationCount != 1}">s</c:if>
+      <c:if test="${data.destinationCount > 0}">
+          <ul>
+              <c:forEach var="dest" items="${data.adminObjects}">
+                  <li>
+                      <c:choose>
+                          <c:when test="${empty(dest.name)}">
+                              <i>In Process</i>
+                          </c:when>
+                          <c:otherwise>
+                              <c:out value="${dest.name}" />
+                          </c:otherwise>
+                      </c:choose>
+                  </li>
+              </c:forEach>
+          </ul>
+      </c:if>
+  </li>
+</ul>
+
+
+<p><a href="<portlet:actionURL portletMode="view">
+              <portlet:param name="mode" value="list-before" />
+            </portlet:actionURL>">Cancel</a></p>

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmswizard/destination.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmswizard/destination.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmswizard/destination.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmswizard/destinationType.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmswizard/destinationType.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmswizard/destinationType.jsp (added)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmswizard/destinationType.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1,113 @@
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
+<portlet:defineObjects/>
+
+<p><b>JMS Resource Group</b> -- Select Destination Type</p>
+
+<!--   FORM TO COLLECT DATA FOR THIS PAGE   -->
+<form name="<portlet:namespace/>JMSForm" action="<portlet:actionURL/>" method="POST">
+    <input type="hidden" name="mode" value="destinationType-after" />
+    <input type="hidden" name="rar" value="${data.rarURI}" />
+    <input type="hidden" name="dependency" value="${data.dependency}" />
+    <input type="hidden" name="instanceName" value="${data.instanceName}" />
+    <input type="hidden" name="workManager" value="${data.workManager}" /> <%-- todo: pick list for WorkManager --%>
+    <c:forEach var="prop" items="${data.instanceProps}">
+      <input type="hidden" name="${prop.key}" value="${prop.value}" />
+    </c:forEach>
+    <input type="hidden" name="currentFactoryID" value="${data.currentFactoryID}" />
+    <input type="hidden" name="currentDestinationID" value="${data.currentDestinationID}" />
+    <input type="hidden" name="factoryType" value="${data.factoryType}" />
+    <c:forEach var="factory" items="${data.connectionFactories}" varStatus="status">
+      <input type="hidden" name="factory.${status.index}.factoryType" value="${factory.factoryType}" />
+      <input type="hidden" name="factory.${status.index}.instanceName" value="${factory.instanceName}" />
+      <input type="hidden" name="factory.${status.index}.transaction" value="${factory.transaction}" />
+      <input type="hidden" name="factory.${status.index}.xaTransaction" value="${factory.xaTransactionCaching}" />
+      <input type="hidden" name="factory.${status.index}.xaThread" value="${factory.xaThreadCaching}" />
+      <input type="hidden" name="factory.${status.index}.poolMinSize" value="${factory.poolMinSize}" />
+      <input type="hidden" name="factory.${status.index}.poolMaxSize" value="${factory.poolMaxSize}" />
+      <input type="hidden" name="factory.${status.index}.poolIdleTimeout" value="${factory.poolIdleTimeout}" />
+      <input type="hidden" name="factory.${status.index}.poolBlockingTimeout" value="${factory.poolBlockingTimeout}" />
+      <c:forEach var="prop" items="${factory.instanceProps}">
+        <input type="hidden" name="factory.${status.index}.${prop.key}" value="${prop.value}" />
+      </c:forEach>
+    </c:forEach>
+    <c:forEach var="dest" items="${data.adminObjects}" varStatus="status">
+      <input type="hidden" name="destination.${status.index}.destinationType" value="${dest.destinationType}" />
+      <input type="hidden" name="destination.${status.index}.name" value="${dest.name}" />
+      <c:forEach var="prop" items="${dest.instanceProps}">
+        <input type="hidden" name="destination.${status.index}.${prop.key}" value="${prop.value}" />
+      </c:forEach>
+    </c:forEach>
+    <table border="0">
+    <!-- ENTRY FIELD: Destination Type -->
+      <tr>
+        <th><div align="right">JMS Destination Type:</div></th>
+        <td>
+          <select name="destinationType">
+        <c:forEach var="dest" items="${provider.adminObjectDefinitions}" varStatus="status">
+            <option <c:if test="${status.index == data.destinationType}">selected</c:if> value="${status.index}">${dest.adminObjectInterface}</option>
+        </c:forEach>
+          </select>
+        </td>
+      </tr>
+      <tr>
+        <td></td>
+        <td>This resource adapter declares several possible destination interfaces.
+            Select the desired interface type for this destination.
+        </td>
+      </tr>
+    <!-- SUBMIT BUTTON -->
+      <tr>
+        <td></td>
+        <td><input type="submit" value="Next" /></td>
+      </tr>
+    </table>
+</form>
+<!--   END OF FORM TO COLLECT DATA FOR THIS PAGE   -->
+
+
+<p><b>Current Status for JMS Resource Group <c:out value="${data.instanceName}" /></b></p>
+<ul>
+  <li><c:out value="${data.connectionFactoryCount}" /> Connection Factor<c:choose><c:when test="${data.connectionFactoryCount == 1}">y</c:when><c:otherwise>ies</c:otherwise></c:choose>
+      <c:if test="${data.connectionFactoryCount > 0}">
+          <ul>
+              <c:forEach var="factory" items="${data.connectionFactories}">
+                  <li>
+                      <c:choose>
+                          <c:when test="${empty(factory.instanceName)}">
+                              <i>In Process</i>
+                          </c:when>
+                          <c:otherwise>
+                              <c:out value="${factory.instanceName}" />
+                          </c:otherwise>
+                      </c:choose>
+                  </li>
+              </c:forEach>
+          </ul>
+      </c:if>
+  </li>
+  <li><c:out value="${data.destinationCount}" /> Destination<c:if test="${data.destinationCount != 1}">s</c:if>
+      <c:if test="${data.destinationCount > 0}">
+          <ul>
+              <c:forEach var="dest" items="${data.adminObjects}">
+                  <li>
+                      <c:choose>
+                          <c:when test="${empty(dest.name)}">
+                              <i>In Process</i>
+                          </c:when>
+                          <c:otherwise>
+                              <c:out value="${dest.name}" />
+                          </c:otherwise>
+                      </c:choose>
+                  </li>
+              </c:forEach>
+          </ul>
+      </c:if>
+  </li>
+</ul>
+
+
+<p><a href="<portlet:actionURL portletMode="view">
+              <portlet:param name="mode" value="list-before" />
+            </portlet:actionURL>">Cancel</a></p>

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmswizard/destinationType.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmswizard/destinationType.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmswizard/destinationType.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmswizard/factory.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmswizard/factory.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmswizard/factory.jsp (added)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmswizard/factory.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1,186 @@
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
+<portlet:defineObjects/>
+
+<p><b>JMS Resource Group</b> -- Configure Connection Factory</p>
+
+<!--   FORM TO COLLECT DATA FOR THIS PAGE   -->
+<form name="<portlet:namespace/>JMSForm" action="<portlet:actionURL/>" method="POST">
+    <input type="hidden" name="mode" value="factory-after" />
+    <input type="hidden" name="rar" value="${data.rarURI}" />
+    <input type="hidden" name="dependency" value="${data.dependency}" />
+    <input type="hidden" name="instanceName" value="${data.instanceName}" />
+    <input type="hidden" name="workManager" value="${data.workManager}" /> <%-- todo: pick list for WorkManager --%>
+    <c:forEach var="prop" items="${data.instanceProps}">
+      <input type="hidden" name="${prop.key}" value="${prop.value}" />
+    </c:forEach>
+    <input type="hidden" name="currentFactoryID" value="${data.currentFactoryID}" />
+    <input type="hidden" name="currentDestinationID" value="${data.currentDestinationID}" />
+    <input type="hidden" name="factoryType" value="${data.factoryType}" />
+    <input type="hidden" name="destinationType" value="${data.destinationType}" />
+    <c:forEach var="factory" items="${data.connectionFactories}" varStatus="status">
+      <input type="hidden" name="factory.${status.index}.factoryType" value="${factory.factoryType}" />
+      <c:if test="${status.index != data.currentFactoryID}">
+        <input type="hidden" name="factory.${status.index}.instanceName" value="${factory.instanceName}" />
+        <input type="hidden" name="factory.${status.index}.transaction" value="${factory.transaction}" />
+        <input type="hidden" name="factory.${status.index}.xaTransaction" value="${factory.xaTransactionCaching}" />
+        <input type="hidden" name="factory.${status.index}.xaThread" value="${factory.xaThreadCaching}" />
+        <input type="hidden" name="factory.${status.index}.poolMinSize" value="${factory.poolMinSize}" />
+        <input type="hidden" name="factory.${status.index}.poolMaxSize" value="${factory.poolMaxSize}" />
+        <input type="hidden" name="factory.${status.index}.poolIdleTimeout" value="${factory.poolIdleTimeout}" />
+        <input type="hidden" name="factory.${status.index}.poolBlockingTimeout" value="${factory.poolBlockingTimeout}" />
+        <c:forEach var="prop" items="${factory.instanceProps}">
+          <input type="hidden" name="factory.${status.index}.${prop.key}" value="${prop.value}" />
+        </c:forEach>
+      </c:if>
+    </c:forEach>
+    <c:forEach var="dest" items="${data.adminObjects}" varStatus="status">
+      <input type="hidden" name="destination.${status.index}.destinationType" value="${dest.destinationType}" />
+      <input type="hidden" name="destination.${status.index}.name" value="${dest.name}" />
+      <c:forEach var="prop" items="${dest.instanceProps}">
+        <input type="hidden" name="destination.${status.index}.${prop.key}" value="${prop.value}" />
+      </c:forEach>
+    </c:forEach>
+    <table border="0">
+    <!-- ENTRY FIELD: Factory Instance Name -->
+      <tr>
+        <th><div align="right">Connection Factory Name:</div></th>
+        <td><input name="factory.${data.currentFactoryID}.instanceName" type="text" size="20" value="${data.currentFactory.instanceName}" /></td>
+      </tr>
+      <tr>
+        <td></td>
+        <td>A unique name for the connection factory; used to refer to this connection
+            factory when mapping resource references from application components.</td>
+      </tr>
+
+    <!-- ENTRY FIELD: Transactions -->
+      <tr>
+        <th><div align="right">Transaction Support:</div></th>
+        <td>
+          <select name="factory.${data.currentFactoryID}.transaction">
+            <option value="none"<c:if test="${data.currentFactory.transaction eq 'none'}"> selected</c:if>>None</option>
+            <option value="local"<c:if test="${data.currentFactory.transaction eq 'local'}"> selected</c:if>>Local</option>
+            <option value="xa"<c:if test="${data.currentFactory.transaction eq 'xa'}"> selected</c:if>>XA</option>
+          </select>
+        </td>
+      </tr>
+      <tr>
+        <td></td>
+        <td>Which JMS interface this connection factory should support.</td>
+      </tr>
+
+    <tr>
+      <th colspan="2">Connection Pool Parameters</th>
+    </tr>
+  <!-- ENTRY FIELD: Min Size -->
+    <tr>
+      <th><div align="right">Pool Min Size:</div></th>
+      <td><input name="factory.${data.currentFactoryID}.poolMinSize" type="text" size="5" value="${data.currentFactory.poolMinSize}"></td>
+    </tr>
+    <tr>
+      <td></td>
+      <td>The minimum number of connections in the pool.  Leave blank for default.</td>
+    </tr>
+  <!-- ENTRY FIELD: Max Size -->
+    <tr>
+      <th><div align="right">Pool Max Size:</div></th>
+      <td><input name="factory.${data.currentFactoryID}.poolMaxSize" type="text" size="5" value="${data.currentFactory.poolMaxSize}"></td>
+    </tr>
+    <tr>
+      <td></td>
+      <td>The maximum number of connections in the pool.  Leave blank for default.</td>
+    </tr>
+  <!-- ENTRY FIELD: Blocking Timeout -->
+    <tr>
+      <th><div align="right">Blocking Timeout:</div></th>
+      <td><input name="factory.${data.currentFactoryID}.poolBlockingTimeout" type="text" size="7" value="${data.currentFactory.poolBlockingTimeout}"> (in milliseconds)</td>
+    </tr>
+    <tr>
+      <td></td>
+      <td>The length of time a caller will wait for a connection.  Leave blank for default.</td>
+    </tr>
+  <!-- ENTRY FIELD: Idle timeout -->
+    <tr>
+      <th><div align="right">Idle Timeout:</div></th>
+      <td><input name="factory.${data.currentFactoryID}.poolIdleTimeout" type="text" size="5" value="${data.currentFactory.poolIdleTimeout}"> (in minutes)</td>
+    </tr>
+    <tr>
+      <td></td>
+      <td>How long a connection can be idle before being closed.  Leave blank for default.</td>
+    </tr>
+
+    <!-- ENTRY FIELD: Config Properties -->
+<c:if test="${!empty(provider.connectionDefinitions[data.factoryType].configProperties)}">
+      <tr>
+        <th colspan="2">Connection Factory Configuration Settings</th>
+      </tr>
+  <c:forEach var="prop" items="${provider.connectionDefinitions[data.factoryType].configProperties}" varStatus="status">
+      <c:set var="index" value="instance-config-${status.index}" />
+      <tr>
+        <th><div align="right">${prop.name}:</div></th>
+        <td><input name="factory.${data.currentFactoryID}.instance-config-${status.index}" type="text" size="20" value="${data.currentFactory.instanceProps[index] == null ? prop.defaultValue : data.currentFactory.instanceProps[index]}" /></td>
+      </tr>
+      <tr>
+        <td></td>
+        <td><c:out value="${prop.description}" /></td>
+      </tr>
+  </c:forEach>
+</c:if>
+    <!-- SUBMIT BUTTON -->
+      <tr>
+        <td></td>
+        <td>
+            <input type="hidden" name="nextAction" value="review" />
+            <input type="submit" value="Next" />
+        </td>
+      </tr>
+    </table>
+</form>
+<!--   END OF FORM TO COLLECT DATA FOR THIS PAGE   -->
+
+
+<p><b>Current Status for JMS Resource Group <c:out value="${data.instanceName}" /></b></p>
+<ul>
+  <li><c:out value="${data.connectionFactoryCount}" /> Connection Factor<c:choose><c:when test="${data.connectionFactoryCount == 1}">y</c:when><c:otherwise>ies</c:otherwise></c:choose>
+      <c:if test="${data.connectionFactoryCount > 0}">
+          <ul>
+              <c:forEach var="factory" items="${data.connectionFactories}">
+                  <li>
+                      <c:choose>
+                          <c:when test="${empty(factory.instanceName)}">
+                              <i>In Process</i>
+                          </c:when>
+                          <c:otherwise>
+                              <c:out value="${factory.instanceName}" />
+                          </c:otherwise>
+                      </c:choose>
+                  </li>
+              </c:forEach>
+          </ul>
+      </c:if>
+  </li>
+  <li><c:out value="${data.destinationCount}" /> Destination<c:if test="${data.destinationCount != 1}">s</c:if>
+      <c:if test="${data.destinationCount > 0}">
+          <ul>
+              <c:forEach var="dest" items="${data.adminObjects}">
+                  <li>
+                      <c:choose>
+                          <c:when test="${empty(dest.name)}">
+                              <i>In Process</i>
+                          </c:when>
+                          <c:otherwise>
+                              <c:out value="${dest.name}" />
+                          </c:otherwise>
+                      </c:choose>
+                  </li>
+              </c:forEach>
+          </ul>
+      </c:if>
+  </li>
+</ul>
+
+
+<p><a href="<portlet:actionURL portletMode="view">
+              <portlet:param name="mode" value="list-before" />
+            </portlet:actionURL>">Cancel</a></p>

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmswizard/factory.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmswizard/factory.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmswizard/factory.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmswizard/factoryType.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmswizard/factoryType.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmswizard/factoryType.jsp (added)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmswizard/factoryType.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1,113 @@
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
+<portlet:defineObjects/>
+
+<p><b>JMS Resource Group</b> -- Select Connection Factory Type</p>
+
+<!--   FORM TO COLLECT DATA FOR THIS PAGE   -->
+<form name="<portlet:namespace/>JMSForm" action="<portlet:actionURL/>" method="POST">
+    <input type="hidden" name="mode" value="factoryType-after" />
+    <input type="hidden" name="rar" value="${data.rarURI}" />
+    <input type="hidden" name="dependency" value="${data.dependency}" />
+    <input type="hidden" name="instanceName" value="${data.instanceName}" />
+    <input type="hidden" name="workManager" value="${data.workManager}" /> <%-- todo: pick list for WorkManager --%>
+    <c:forEach var="prop" items="${data.instanceProps}">
+      <input type="hidden" name="${prop.key}" value="${prop.value}" />
+    </c:forEach>
+    <input type="hidden" name="currentFactoryID" value="${data.currentFactoryID}" />
+    <input type="hidden" name="currentDestinationID" value="${data.currentDestinationID}" />
+    <input type="hidden" name="destinationType" value="${data.destinationType}" />
+    <c:forEach var="factory" items="${data.connectionFactories}" varStatus="status">
+      <input type="hidden" name="factory.${status.index}.factoryType" value="${factory.factoryType}" />
+      <input type="hidden" name="factory.${status.index}.instanceName" value="${factory.instanceName}" />
+      <input type="hidden" name="factory.${status.index}.transaction" value="${factory.transaction}" />
+      <input type="hidden" name="factory.${status.index}.xaTransaction" value="${factory.xaTransactionCaching}" />
+      <input type="hidden" name="factory.${status.index}.xaThread" value="${factory.xaThreadCaching}" />
+      <input type="hidden" name="factory.${status.index}.poolMinSize" value="${factory.poolMinSize}" />
+      <input type="hidden" name="factory.${status.index}.poolMaxSize" value="${factory.poolMaxSize}" />
+      <input type="hidden" name="factory.${status.index}.poolIdleTimeout" value="${factory.poolIdleTimeout}" />
+      <input type="hidden" name="factory.${status.index}.poolBlockingTimeout" value="${factory.poolBlockingTimeout}" />
+      <c:forEach var="prop" items="${factory.instanceProps}">
+        <input type="hidden" name="factory.${status.index}.${prop.key}" value="${prop.value}" />
+      </c:forEach>
+    </c:forEach>
+    <c:forEach var="dest" items="${data.adminObjects}" varStatus="status">
+      <input type="hidden" name="destination.${status.index}.destinationType" value="${dest.destinationType}" />
+      <input type="hidden" name="destination.${status.index}.name" value="${dest.name}" />
+      <c:forEach var="prop" items="${dest.instanceProps}">
+        <input type="hidden" name="destination.${status.index}.${prop.key}" value="${prop.value}" />
+      </c:forEach>
+    </c:forEach>
+    <table border="0">
+    <!-- ENTRY FIELD: Connection Factory Type -->
+      <tr>
+        <th><div align="right">JMS Factory Type:</div></th>
+        <td>
+          <select name="factoryType">
+        <c:forEach var="factory" items="${provider.connectionDefinitions}" varStatus="status">
+            <option <c:if test="${status.index == data.factoryType}">selected</c:if> value="${status.index}">${factory.connectionFactoryInterface}</option>
+        </c:forEach>
+          </select>
+        </td>
+      </tr>
+      <tr>
+        <td></td>
+        <td>This resource adapter declares several possible connection factory interfaces.
+            Select the desired interface type for this connection factory.
+        </td>
+      </tr>
+    <!-- SUBMIT BUTTON -->
+      <tr>
+        <td></td>
+        <td><input type="submit" value="Next" /></td>
+      </tr>
+    </table>
+</form>
+<!--   END OF FORM TO COLLECT DATA FOR THIS PAGE   -->
+
+
+<p><b>Current Status for JMS Resource Group <c:out value="${data.instanceName}" /></b></p>
+<ul>
+  <li><c:out value="${data.connectionFactoryCount}" /> Connection Factor<c:choose><c:when test="${data.connectionFactoryCount == 1}">y</c:when><c:otherwise>ies</c:otherwise></c:choose>
+      <c:if test="${data.connectionFactoryCount > 0}">
+          <ul>
+              <c:forEach var="factory" items="${data.connectionFactories}">
+                  <li>
+                      <c:choose>
+                          <c:when test="${empty(factory.instanceName)}">
+                              <i>In Process</i>
+                          </c:when>
+                          <c:otherwise>
+                              <c:out value="${factory.instanceName}" />
+                          </c:otherwise>
+                      </c:choose>
+                  </li>
+              </c:forEach>
+          </ul>
+      </c:if>
+  </li>
+  <li><c:out value="${data.destinationCount}" /> Destination<c:if test="${data.destinationCount != 1}">s</c:if>
+      <c:if test="${data.destinationCount > 0}">
+          <ul>
+              <c:forEach var="dest" items="${data.adminObjects}">
+                  <li>
+                      <c:choose>
+                          <c:when test="${empty(dest.name)}">
+                              <i>In Process</i>
+                          </c:when>
+                          <c:otherwise>
+                              <c:out value="${dest.name}" />
+                          </c:otherwise>
+                      </c:choose>
+                  </li>
+              </c:forEach>
+          </ul>
+      </c:if>
+  </li>
+</ul>
+
+
+<p><a href="<portlet:actionURL portletMode="view">
+              <portlet:param name="mode" value="list-before" />
+            </portlet:actionURL>">Cancel</a></p>

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmswizard/factoryType.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmswizard/factoryType.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmswizard/factoryType.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmswizard/list.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmswizard/list.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmswizard/list.jsp (added)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmswizard/list.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1,122 @@
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
+<portlet:defineObjects/>
+
+<p>This page lists all the available JMS Resource Groups.</p>
+
+<c:choose>
+  <c:when test="${empty(resources)}"><p><i>There are no JMS Resource Groups defined</i></p></c:when>
+  <c:otherwise>
+<!--
+<p>For each resource listed, you can click the <b>usage</b> link to see examples of how
+  to use the connection factories and destinations from your application.</p>
+-->
+    <table width="100%">
+      <c:forEach var="resource" items="${resources}">
+        <tr>
+            <td colspan="5" style="padding-top: 10px"><b><c:out value="${resource.name}"/> (<c:out value="${resource.configurationName}"/>)</b></td>
+        </tr>
+        <tr>
+          <td class="DarkBackground">Type</td>
+          <td class="DarkBackground">Name</td>
+          <td class="DarkBackground" align="center">Deployed As</td>
+          <td class="DarkBackground" align="center">State</td>
+          <td class="DarkBackground" align="center">Actions</td>
+        </tr>
+        <c:forEach var="factory" items="${resource.connectionFactories}">
+            <tr>
+              <td>Connection Factory</td>
+              <td>${factory.name}</td>
+              <td>
+                <c:choose>
+                  <c:when test="${empty resource.parentName}">
+                    Server-wide
+                  </c:when>
+                  <c:otherwise>
+                    Application-scoped
+                  </c:otherwise>
+                </c:choose>
+              </td>
+              <td>${factory.stateName}</td>
+              <td>
+                <%--
+                <a href="<portlet:actionURL portletMode="view">
+                  <portlet:param name="mode" value="editExisting" />
+                  <portlet:param name="adapterObjectName" value="${pool.adapterObjectName}" />
+                  <portlet:param name="objectName" value="${pool.factoryObjectName}" />
+                </portlet:actionURL>">edit</a>
+                <a href="<portlet:actionURL portletMode="view">
+                  <portlet:param name="mode" value="usage" />
+                  <portlet:param name="name" value="${pool.name}" />
+                  <portlet:param name="objectName" value="${pool.factoryObjectName}" />
+                </portlet:actionURL>">usage</a>
+                Test
+                Statistics
+                --%>
+              </td>
+            </tr>
+        </c:forEach>
+        <c:forEach var="admin" items="${resource.adminObjects}">
+            <tr>
+              <td>${admin.type}</td>
+              <td>${admin.name}</td>
+              <td>
+                <c:choose>
+                  <c:when test="${empty resource.parentName}">
+                    Server-wide
+                  </c:when>
+                  <c:otherwise>
+                    Application-scoped
+                  </c:otherwise>
+                </c:choose>
+              </td>
+              <td>${admin.stateName}</td>
+              <td>
+                <%--
+                <a href="<portlet:actionURL portletMode="view">
+                  <portlet:param name="mode" value="editExisting" />
+                  <portlet:param name="adapterObjectName" value="${pool.adapterObjectName}" />
+                  <portlet:param name="objectName" value="${pool.factoryObjectName}" />
+                </portlet:actionURL>">edit</a>
+                <a href="<portlet:actionURL portletMode="view">
+                  <portlet:param name="mode" value="usage" />
+                  <portlet:param name="name" value="${pool.name}" />
+                  <portlet:param name="objectName" value="${pool.factoryObjectName}" />
+                </portlet:actionURL>">usage</a>
+                Test
+                Statistics
+                --%>
+              </td>
+            </tr>
+        </c:forEach>
+      </c:forEach>
+    </table>
+  </c:otherwise>
+</c:choose>
+
+
+<p><b>Create a new JMS Resource Group:</b></p>
+<ul>
+<c:forEach var="provider" items="${providers}">
+
+  <li><a href="<portlet:actionURL portletMode="view">
+              <portlet:param name="mode" value="list-after" />
+              <portlet:param name="provider" value="${provider.name}" />
+            </portlet:actionURL>">For <c:out value="${provider.name}" /></a></li>
+</c:forEach>
+  <li><a href="<portlet:actionURL portletMode="view">
+              <portlet:param name="mode" value="list-after" />
+            </portlet:actionURL>">For another JMS provider...</a></li>
+<%--
+  <li><a href="<portlet:actionURL portletMode="view">
+              <portlet:param name="mode" value="startImport" />
+              <portlet:param name="importSource" value="JBoss 4" />
+              <portlet:param name="from" value="<tt>*-ds.xml</tt> file from the <tt>jboss4/server/name/deploy</tt> directory" />
+            </portlet:actionURL>">Import from JBoss 4</a></li>
+  <li><a href="<portlet:actionURL portletMode="view">
+              <portlet:param name="mode" value="startImport" />
+              <portlet:param name="importSource" value="WebLogic 8.1" />
+              <portlet:param name="from" value="<tt>config.xml</tt> file from the WebLogic domain directory" />
+            </portlet:actionURL>">Import from WebLogic 8.1</a></li>
+--%>
+</ul>

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmswizard/list.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmswizard/list.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmswizard/list.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmswizard/plan.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmswizard/plan.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmswizard/plan.jsp (added)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmswizard/plan.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1,102 @@
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
+<portlet:defineObjects/>
+
+<p><b>JMS Resource Group</b> -- Show Deployment Plan</p>
+
+<!--   FORM TO COLLECT DATA FOR THIS PAGE   -->
+<form name="<portlet:namespace/>JMSForm" action="<portlet:actionURL/>" method="POST">
+    <input type="hidden" name="mode" value="plan-after" />
+    <input type="hidden" name="rar" value="${data.rarURI}" />
+    <input type="hidden" name="dependency" value="${data.dependency}" />
+    <input type="hidden" name="instanceName" value="${data.instanceName}" />
+    <input type="hidden" name="workManager" value="${data.workManager}" /> <%-- todo: pick list for WorkManager --%>
+    <c:forEach var="prop" items="${data.instanceProps}">
+      <input type="hidden" name="${prop.key}" value="${prop.value}" />
+    </c:forEach>
+    <input type="hidden" name="currentFactoryID" value="${data.currentFactoryID}" />
+    <input type="hidden" name="currentDestinationID" value="${data.currentDestinationID}" />
+    <input type="hidden" name="factoryType" value="${data.factoryType}" />
+    <input type="hidden" name="destinationType" value="${data.destinationType}" />
+    <c:forEach var="factory" items="${data.connectionFactories}" varStatus="status">
+      <input type="hidden" name="factory.${status.index}.factoryType" value="${factory.factoryType}" />
+      <input type="hidden" name="factory.${status.index}.instanceName" value="${factory.instanceName}" />
+      <input type="hidden" name="factory.${status.index}.transaction" value="${factory.transaction}" />
+      <input type="hidden" name="factory.${status.index}.xaTransaction" value="${factory.xaTransactionCaching}" />
+      <input type="hidden" name="factory.${status.index}.xaThread" value="${factory.xaThreadCaching}" />
+      <input type="hidden" name="factory.${status.index}.poolMinSize" value="${factory.poolMinSize}" />
+      <input type="hidden" name="factory.${status.index}.poolMaxSize" value="${factory.poolMaxSize}" />
+      <input type="hidden" name="factory.${status.index}.poolIdleTimeout" value="${factory.poolIdleTimeout}" />
+      <input type="hidden" name="factory.${status.index}.poolBlockingTimeout" value="${factory.poolBlockingTimeout}" />
+      <c:forEach var="prop" items="${factory.instanceProps}">
+        <input type="hidden" name="factory.${status.index}.${prop.key}" value="${prop.value}" />
+      </c:forEach>
+    </c:forEach>
+    <c:forEach var="dest" items="${data.adminObjects}" varStatus="status">
+      <input type="hidden" name="destination.${status.index}.destinationType" value="${dest.destinationType}" />
+      <input type="hidden" name="destination.${status.index}.name" value="${dest.name}" />
+      <c:forEach var="prop" items="${dest.instanceProps}">
+        <input type="hidden" name="destination.${status.index}.${prop.key}" value="${prop.value}" />
+      </c:forEach>
+    </c:forEach>
+
+    <table border="0">
+    <!-- STATUS FIELD: Deployment Plan -->
+      <tr>
+        <th valign="top" style="min-width: 140px"><div align="right">Deployment Plan:</div></th>
+        <td><textarea rows="30" cols="60" readonly>${deploymentPlan}</textarea></td>
+      </tr>
+    <!-- SUBMIT BUTTON -->
+      <tr>
+        <td></td>
+        <td>
+            <input type="hidden" name="nextAction" value="deploy" />
+            <input type="button" value="Edit Configuration" onclick="document.<portlet:namespace/>JMSForm.nextAction.value='review';document.<portlet:namespace/>JMSForm.submit();return false;" />
+            <input type="submit" value="Deploy JMS Resource" />
+        </td>
+      </tr>
+    <!-- STATUS FIELD: Command-line guidance -->
+      <tr>
+        <th valign="top"><div align="right">Deploy Command:</div></th>
+        <td>To deploy a JMS resource from the command line using this plan,
+          copy and paste it to a file (say, <tt>plan-file.xml</tt>) and save
+          it.  Then run a command like:<br />
+<pre>
+cd GERONIMO_HOME
+java -jar bin/deployer.jar deploy plan-file.xml \
+        ${rarURL}
+</pre></td>
+      </tr>
+    <!-- STATUS FIELD: Embed in EAR guidance -->
+      <tr>
+        <th valign="top"><div align="right">Add to EAR:</div></th>
+        <td>Instead of deploying as a top-level JMS resource, you
+          can deploy this pool as part of an EAR.  To add a JMS
+          resource to an EAR using this plan:
+<ol>
+  <li>Copy and paste the plan to a file</li>
+  <li>Save the plan file to the top level of your EAR</li>
+  <li>Copy the RAR file from <tt>${rarURL}</tt>
+    to the top level of your EAR</li>
+  <li>Create a <tt>META-INF/geronimo-application.xml</tt> file in your EAR
+    that has a <tt>module</tt> entry like this (substituting the correct
+    RAR file name and plan file name):</li>
+</ol>
+<pre>
+&lt;application
+   xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-1.0"
+   configId="MyApplication"&gt;
+  &lt;module&gt;
+    &lt;connector&gt;rar-file-name.rar&lt;/connector&gt;
+    &lt;alt-dd&gt;plan-file-name.xml&lt;/alt-dd&gt;
+  &lt;/module&gt;
+&lt;/application&gt;
+</pre></td>
+      </tr>
+    </table>
+</form>
+<!--   END OF FORM TO COLLECT DATA FOR THIS PAGE   -->
+
+<p><a href="<portlet:actionURL portletMode="view">
+              <portlet:param name="mode" value="list" />
+            </portlet:actionURL>">Cancel</a></p>

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmswizard/plan.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmswizard/plan.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmswizard/plan.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain



Mime
View raw message