Commits

Anonymous committed 616364f

more HTSQL 1.0 updates

Comments (0)

Files changed (2)

htraf/examples10/basic/theming.html

     <p>Filter By Name <input id="department_name"/></p>
     <table id="department"
         data-htsql="/department{code, name, school.name}
-                     ?school=$school&name~$department_name">
+                   ?school=$school&name~$department_name"
+        data-ref="school department_name">
     </table>
     <p>
         <span>Selected Department: </span>
-        <em data-htsql="/department{name}?code=$department"></em> <br/>
+        <em data-htsql="/department{name}?code=$department"
+            data-ref="department"></em> <br/>
 
         <span>Count of Courses in Selected Department: </span>
-        <strong data-htsql="/department{count(course)}?code=$department">
+        <strong data-htsql="/department{count(course)}?code=$department"
+                data-ref="department">
         </strong>
     </p>
-    <table id="course" data-htsql="/course?department=$department">
+    <table id="course" data-htsql="/course?department=$department"
+           data-ref="department">
     </table>
 </body>
 </html>

htraf/examples10/cors.html

 <head>
     <title>On-page linking and slots demo</title>
     <script type="text/javascript" src="/-/htraf/htraf.js"></script>
+    <script data-server="edgar" data-htsql-prefix="http://edgar.htsql.com/">
+    </script>
     <link type="text/css" rel="stylesheet" href="../css/htraf-02.css"/> 
 </head>
 <body>
         font-style: italic;
     }
 </style>
-<table data-htsql="http://edgar.htsql.com/company/select(limit=10)"
-       data-rowhighlight-condition="incorporation_state=='DE'"
-       data-rowhighlight-class="de"/>
+<table data-htsql="/company/select(limit=10)" data-server="edgar"/>
 </body>
 </html>