diff --git a/activemq-web-console/src/main/webapp/WEB-INF/tags/form/short.tag b/activemq-web-console/src/main/webapp/WEB-INF/tags/form/short.tag index ed82a97e17..b628752751 100644 --- a/activemq-web-console/src/main/webapp/WEB-INF/tags/form/short.tag +++ b/activemq-web-console/src/main/webapp/WEB-INF/tags/form/short.tag @@ -21,7 +21,7 @@ text = org.apache.commons.lang.StringEscapeUtils.escapeJavaScript(text); if (length == null) length = 20; - if (text.length() <= 20) { + if (text.length() <= length) { out.print(text); } else { out.println(text.substring(0, 10) + "..." + text.substring(text.length() - 5)); diff --git a/activemq-web-console/src/main/webapp/message.jsp b/activemq-web-console/src/main/webapp/message.jsp index 25143a1f10..500674aeb3 100644 --- a/activemq-web-console/src/main/webapp/message.jsp +++ b/activemq-web-console/src/main/webapp/message.jsp @@ -5,9 +5,9 @@ The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - + http://www.apache.org/licenses/LICENSE-2.0 - + Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -34,90 +34,90 @@ No message could be found for ID - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - +
- Properties -
+ + + + + + - - - - - - - -
+ Properties +
- - + + + + + + + + + + @@ -139,12 +139,12 @@ No message could be found for ID -- Please select -- - + - + @@ -152,25 +152,25 @@ No message could be found for ID -
&messageId=${row.JMSMessageID}&JMSDestinationType=queue&secret=')">Move
- - - - - - - - - - -
- Message Details -
- - + + + + + + + + + + + + + + +
+ Message Details +
+ + @@ -182,4 +182,4 @@ No message could be found for ID