[Checkins] SVN: grokui.introspector/trunk/src/grokui/introspector/content_templates/inspect.pt Use generated ECMAScript.

Uli Fouquet uli at gnufix.de
Fri May 1 18:50:50 EDT 2009


Log message for revision 99663:
  Use generated ECMAScript.

Changed:
  U   grokui.introspector/trunk/src/grokui/introspector/content_templates/inspect.pt

-=-
Modified: grokui.introspector/trunk/src/grokui/introspector/content_templates/inspect.pt
===================================================================
--- grokui.introspector/trunk/src/grokui/introspector/content_templates/inspect.pt	2009-05-01 22:50:09 UTC (rev 99662)
+++ grokui.introspector/trunk/src/grokui/introspector/content_templates/inspect.pt	2009-05-01 22:50:50 UTC (rev 99663)
@@ -60,8 +60,8 @@
 
     <div class="yui-skin-sam">
 
-      <div id="myMarkedUpContainer">
-	<table id="myTable">
+      <div id="ViewsTableContainer">
+	<table id="ViewsTable">
           <thead>
             <tr>
               <th>Skin</th>
@@ -79,26 +79,9 @@
 	</table>
       </div>
     </div>
-    <script type="text/javascript">
-      var myDataSource = new YAHOO.util.DataSource(YAHOO.util.Dom.get("myTable"));
-      myDataSource.responseType = YAHOO.util.DataSource.TYPE_HTMLTABLE;
-      myDataSource.responseSchema = {
-        fields: [{key:"skin",},
-                 {key:"name"},
-                 {key:"iface"}
-                ]
-      };
 
-      var myColumnDefs = [
-        {key:"skin", label:"Skin", sortable:true},
-        {key:"name", label:"Name", sortable:true},
-        {key:"iface", label:"Interface", sortable:true}
-      ];
+    <div tal:replace="structure view/getViewsTableInit" />
 
-      var myDataTable = new YAHOO.widget.DataTable("myMarkedUpContainer", myColumnDefs, myDataSource);
-    </script>
-
-
 	  </div>
 	</div>
       </div>



More information about the Checkins mailing list