Fixing JSTL tags in the Webconsole

(cherry picked from commit d0f5c27785)
This commit is contained in:
Christopher L. Shannon (cshannon) 2016-01-28 14:05:45 +00:00
parent 4819336923
commit e24e285c99
5 changed files with 27 additions and 27 deletions

View File

@ -105,10 +105,10 @@ No connection could be found for ID <c:out value="${requestContext.connectionQue
<td>
<c:choose>
<c:when test="${consumer.destinationQueue}">
Queue <a href="browse.jsp?JMSDestination=${consumer.destinationName}"><c:out value="${consumer.destinationName}" /></a>
Queue <a href="browse.jsp?JMSDestination=<c:out value="${consumer.destinationName}" />"><c:out value="${consumer.destinationName}" /></a>
</c:when>
<c:when test="${consumer.destinationTopic}">
Topic <a href="send.jsp?JMSDestination=${consumer.destinationName}"><c:out value="${consumer.destinationName}" /></a>
Topic <a href="send.jsp?JMSDestination=<c:out value="${consumer.destinationName}" />"><c:out value="${consumer.destinationName}" /></a>
</c:when>
<c:otherwise>
<c:out value="${consumer.destinationName}" />

View File

@ -132,7 +132,7 @@ No message could be found for ID <c:out value="${requestContext.messageQuery.id}
</thead>
<tbody>
<tr>
<td colspan="2"><a href="<c:url value='deleteMessage.action?JMSDestination=${requestContext.messageQuery.JMSDestination}&messageId=${row.JMSMessageID}&secret=${sessionScope["secret"]}' />" onclick="return confirm('Are you sure you want to delete the message?')" >Delete</a></td>
<td colspan="2"><a href="<c:out value='deleteMessage.action?JMSDestination=${requestContext.messageQuery.JMSDestination}&messageId=${row.JMSMessageID}&secret=${sessionScope["secret"]}' />" onclick="return confirm('Are you sure you want to delete the message?')" >Delete</a></td>
</tr>
<c:set var="queueName" value="${requestContext.messageQuery.JMSDestination}"/>
<c:set var="queueNameSubStr" value="${fn:substring(queueName, 0, 4)}" />
@ -158,7 +158,7 @@ No message could be found for ID <c:out value="${requestContext.messageQuery.id}
</tr>
</c:if>
<tr class="odd">
<td><a href="<c:url value="javascript:confirmAction('queue', 'copyMessage.action?destination=%target%&JMSDestination=${requestContext.messageQuery.JMSDestination}&messageId=${row.JMSMessageID}&JMSDestinationType=queue&secret=${sessionScope['secret']}"/>')">Copy</a></td>
<td><a href="<c:out value="javascript:confirmAction('queue', 'copyMessage.action?destination=%target%&JMSDestination=${requestContext.messageQuery.JMSDestination}&messageId=${row.JMSMessageID}&JMSDestinationType=queue&secret=${sessionScope['secret']}"/>')">Copy</a></td>
<td rowspan="2">
<select id="queue">
<option value=""> -- Please select --</option>
@ -172,7 +172,7 @@ No message could be found for ID <c:out value="${requestContext.messageQuery.id}
</tr>
<tr class="odd">
<td><a href="<c:url value="javascript:confirmAction('queue', 'moveMessage.action?destination=%target%&JMSDestination=${requestContext.messageQuery.JMSDestination}&messageId=${row.JMSMessageID}&JMSDestinationType=queue&secret=${sessionScope['secret']}"/>')"
<td><a href="<c:out value="javascript:confirmAction('queue', 'moveMessage.action?destination=%target%&JMSDestination=${requestContext.messageQuery.JMSDestination}&messageId=${row.JMSMessageID}&JMSDestinationType=queue&secret=${sessionScope['secret']}"/>')"
>Move</a></td>
</tr>
</tbody>

View File

@ -17,7 +17,7 @@
--%>
<queues>
<c:forEach items="${requestContext.brokerQuery.queues}" var="row">
<queue name="${row.name}">
<queue name="<c:out value="${row.name}" />">
<stats size="${row.queueSize}"
consumerCount="${row.consumerCount}"
@ -26,8 +26,8 @@
<feed>
<atom><c:url value="queueBrowse/${row.name}?view=rss&amp;feedType=atom_1.0"/></atom>
<rss><c:url value="queueBrowse/${row.name}?view=rss&amp;feedType=rss_2.0"/></rss>
<atom><c:out value="queueBrowse/${row.name}?view=rss&amp;feedType=atom_1.0"/></atom>
<rss><c:out value="queueBrowse/${row.name}?view=rss&amp;feedType=rss_2.0"/></rss>
</feed>
</queue>
</c:forEach>

View File

@ -17,33 +17,33 @@
--%>
<subscribers>
<c:forEach items="${requestContext.brokerQuery.durableTopicSubscribers}" var="row">
<subscriber clientId="${row.clientId}"
subscriptionName="${row.subscriptionName}"
connectionId="${row.connectionId}"
destinationName="${row.destinationName}"
<subscriber clientId="<c:out value="${row.clientId}"/>"
subscriptionName="<c:out value="${row.subscriptionName}"/>"
connectionId="<c:out value="${row.connectionId}"/>"
destinationName="<c:out value="${row.destinationName}"/>"
selector="<c:out value="${row.selector}"/>"
active="yes" >
<stats pendingQueueSize="${row.pendingQueueSize}"
dispatchedQueueSize="${row.dispatchedQueueSize}"
dispatchedCounter="${row.dispatchedCounter}"
enqueueCounter="${row.enqueueCounter}"
dequeueCounter="${row.dequeueCounter}"/>
<stats pendingQueueSize="<c:out value="${row.pendingQueueSize}"/>"
dispatchedQueueSize="<c:out value="${row.dispatchedQueueSize}"/>"
dispatchedCounter="<c:out value="${row.dispatchedCounter}"/>"
enqueueCounter="<c:out value="${row.enqueueCounter}"/>"
dequeueCounter="<c:out value="${row.dequeueCounter}"/>" />
</subscriber>
</c:forEach>
<c:forEach items="${requestContext.brokerQuery.inactiveDurableTopicSubscribers}" var="row">
<subscriber clientId="${row.clientId}"
subscriptionName="${row.subscriptionName}"
connectionId="${row.connectionId}"
destinationName="${row.destinationName}"
<subscriber clientId="<c:out value="${row.clientId}"/>"
subscriptionName="<c:out value="${row.subscriptionName}"/>"
connectionId="<c:out value="${row.connectionId}"/>"
destinationName="<c:out value="${row.destinationName}"/>"
selector="<c:out value="${row.selector}"/>"
active="no" >
<stats pendingQueueSize="${row.pendingQueueSize}"
dispatchedQueueSize="${row.dispatchedQueueSize}"
dispatchedCounter="${row.dispatchedCounter}"
enqueueCounter="${row.enqueueCounter}"
dequeueCounter="${row.dequeueCounter}"/>
<stats pendingQueueSize="<c:out value="${row.pendingQueueSize}"/>"
dispatchedQueueSize="<c:out value="${row.dispatchedQueueSize}"/>"
dispatchedCounter="<c:out value="${row.dispatchedCounter}"/>"
enqueueCounter="<c:out value="${row.enqueueCounter}"/>"
dequeueCounter="<c:out value="${row.dequeueCounter}"/>"/>
</subscriber>
</c:forEach>

View File

@ -17,7 +17,7 @@
--%>
<topics>
<c:forEach items="${requestContext.brokerQuery.topics}" var="row">
<topic name="${row.name}">
<topic name="<c:out value="${row.name}"/> ">
<stats size="${row.queueSize}"
consumerCount="${row.consumerCount}"