geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rwo...@apache.org
Subject svn commit: r1063169 - /geronimo/server/trunk/plugins/console/osgi-portlets/src/main/webapp/WEB-INF/view/BundlesView.jsp
Date Tue, 25 Jan 2011 08:25:02 GMT
Author: rwonly
Date: Tue Jan 25 08:25:02 2011
New Revision: 1063169

URL: http://svn.apache.org/viewvc?rev=1063169&view=rev
Log:
GERONIMO-5774 some osgi portlet improvements
1. add a button to trigger the filter
2. make the list descending 

Modified:
    geronimo/server/trunk/plugins/console/osgi-portlets/src/main/webapp/WEB-INF/view/BundlesView.jsp

Modified: geronimo/server/trunk/plugins/console/osgi-portlets/src/main/webapp/WEB-INF/view/BundlesView.jsp
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/console/osgi-portlets/src/main/webapp/WEB-INF/view/BundlesView.jsp?rev=1063169&r1=1063168&r2=1063169&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/console/osgi-portlets/src/main/webapp/WEB-INF/view/BundlesView.jsp
(original)
+++ geronimo/server/trunk/plugins/console/osgi-portlets/src/main/webapp/WEB-INF/view/BundlesView.jsp
Tue Jan 25 08:25:02 2011
@@ -282,14 +282,15 @@ function hideLoadingDIV(){
 		<td align="right">
 			<label>Filter by Symbolic Name: </label>
 			<div type="text" jsid="filteredSymbolicName" id="filteredSymbolicName" dojoType="dijit.form.TextBox"
style="width: 16em;">
-				<script type="dojo/method" event="onKeyUp" args="evt">
-				    var fitlerStr = dojo.byId("filteredSymbolicName").value;
+			</div>
+			<button dojoType="dijit.form.Button">Go
+				<script type="dojo/method" event="onClick" args="evt">
+					var fitlerStr = dojo.byId("filteredSymbolicName").value;
         			dijit.byId("grid1").filter({
             			symbolicName: "*" + fitlerStr + "*"     
-        			});       
-					dojo.stopEvent(evt);
+        			});
 				</script>
-			</div>
+			</button>
 		</td>
 	</tr> 
 </table>
@@ -302,7 +303,7 @@ var jsonStore=new dojo.data.ItemFileWrit
 
 <table jsid="grid1" id="grid1" dojoType="dojox.grid.EnhancedGrid"
 	plugins="{indirectSelection: true}" store="jsonStore"
-	query="{ id: '*' }" queryOptions ="{ignoreCase: true}" style="width:100%;margin:0px 0px;">
+	query="{ id: '*' }" queryOptions ="{ignoreCase: true}" sortFields="[{attribute:'id',descending:true}]"
style="width:100%;margin:0px 0px;">
 	<thead>
 		<tr>
 			<th field="id">Id</th>



Mime
View raw message