activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nmittal <nmit...@rblt.com>
Subject Re: Admin Console: Sort on Queue name
Date Tue, 15 Sep 2009 14:16:45 GMT

This is for anyone interested in this issue..
I found a workaround solution. 
1) open standardista-table-sorting.js which is located in the
$ActiveMQHOME$/webapps/admin/js/ folder.
2) change the function...
        function standardistaTableSortingInit() {
	      standardistaTableSorting.init();
        }

to the following...

        function standardistaTableSortingInit() {
	       standardistaTableSorting.init();
	
	       var e = {};
	       var obj = document.getElementsByTagName("TH")[0].firstChild; // 0
points to the first column, use 3 if you want to sort on the 4th column
	       e.target = obj;
	       standardistaTableSorting.headingClicked(e);  // will sort Ascending
	       //standardistaTableSorting.headingClicked(e); // uncheck this if you
want to sort desc
        }

thanks
Nishant


nmittal wrote:
> 
> Hi I use the bundled activemq console heavily to monitor queues. I refresh
> the page frequently to see the latest state. I was wondering if there was
> a way to ensure that after page refresh the queues are sorted by name?
> currently everytime I refresh, queue names show up in some random order
> that I dont understand.
> 
> thanks
> Nishant
> 

-- 
View this message in context: http://www.nabble.com/Admin-Console%3A-Sort-on-Queue-name-tp25440691p25454847.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message