activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject activemq git commit: AMQ-5976: Filter queues by name in admin webconsole. Thanks to Francois Chartier for the patch. This closes #144.
Date Tue, 29 Nov 2016 17:42:21 GMT
Repository: activemq
Updated Branches:
  refs/heads/master f888cc272 -> 0b767fcb0


AMQ-5976: Filter queues by name in admin webconsole. Thanks to Francois Chartier for the patch.
This closes #144.


Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/0b767fcb
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/0b767fcb
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/0b767fcb

Branch: refs/heads/master
Commit: 0b767fcb0c622810c01e54bd51bc9680e36f81f5
Parents: f888cc2
Author: Claus Ibsen <claus.ibsen@gmail.com>
Authored: Tue Nov 29 18:42:08 2016 +0100
Committer: Claus Ibsen <claus.ibsen@gmail.com>
Committed: Tue Nov 29 18:42:08 2016 +0100

----------------------------------------------------------------------
 activemq-web-console/src/main/webapp/queues.jsp | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/0b767fcb/activemq-web-console/src/main/webapp/queues.jsp
----------------------------------------------------------------------
diff --git a/activemq-web-console/src/main/webapp/queues.jsp b/activemq-web-console/src/main/webapp/queues.jsp
index 7c23c24..8082bdd 100644
--- a/activemq-web-console/src/main/webapp/queues.jsp
+++ b/activemq-web-console/src/main/webapp/queues.jsp
@@ -24,6 +24,9 @@
 
 <%@include file="decorators/header.jsp" %>
 
+<table>
+<tr>
+<td>
 <div>
 <form action="createDestination.action" method="post">
     <input type="hidden" name="JMSDestinationType" value="queue"/>
@@ -35,9 +38,21 @@
     <input type="submit" value="Create"/>
 </form>
 </div>
+</td>
 
+<td>
+<div>
+<form action="queues.jsp" method="get">
+    <label name="destination">Queue Name Filter</label>
+    <input type="text" name="QueueFilter" value="${param.QueueFilter}"/>
 
-<h2>Queues</h2>
+    <input type="submit" value="Filter"/>
+</form>
+</div>
+</tr>
+</table>
+
+<h2>Queues:<c:if test="${null != param.QueueFilter && param.QueueFilter
!= ''}"> (filter='${param.QueueFilter}')</c:if></h2>
 
 <table id="queues" class="sortable autostripe">
 <thead>
@@ -53,6 +68,7 @@
 </thead>
 <tbody>
 <c:forEach items="${requestContext.brokerQuery.queues}" var="row">
+<c:if test="${param.QueueFilter == '' || fn:containsIgnoreCase(row.name, param.QueueFilter)}">
 
 <tr>
 <td><a href="<c:url value="browse.jsp">
@@ -85,6 +101,8 @@
                     <c:param name="secret" value='${sessionScope["secret"]}'/></c:url>">Delete</a>
 </td>
 </tr>
+
+</c:if>
 </c:forEach>
 </tbody>
 </table>


Mime
View raw message