Reader/Feed.bjs
authorAlan Knowles <alan@roojs.com>
Thu, 24 Dec 2015 04:20:54 +0000 (12:20 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 24 Dec 2015 04:20:54 +0000 (12:20 +0800)
Reader/Feed.js
Reader/templates/Feed.html

Reader/Feed.bjs
Reader/Feed.js

index 11de6de..dec12d3 100644 (file)
@@ -81,7 +81,7 @@
          "$ String url" : "baseURL + '/Api/Reader_read'"
         },
         {
-         "$ Array fields" : "",
+         "$ Array fields" : "[\n        \"id\",\n            \"article_id\",\n            \"has_read\",\n            \"article_id_id\" ,\n            \"article_id_published_dt\" ,\n            \"article_id_headline\" ,\n            \"article_id_body\" ,\n            \"article_id_real_url\" \n        ]\n    ",
          "xtype" : "JsonReader",
          "$ xns" : "Roo.data",
          "* prop" : "reader"
index 67a9c07..419521b 100644 (file)
@@ -104,6 +104,16 @@ Feed = new Roo.XComponent({
        xtype : 'HttpProxy'
       },
       reader : {
+       fields : [
+               "id",
+                   "article_id",
+                   "has_read",
+                   "article_id_id" ,
+                   "article_id_published_dt" ,
+                   "article_id_headline" ,
+                   "article_id_body" ,
+                   "article_id_real_url" 
+               ],
        xns : Roo.data,
        '|xns' : 'Roo.data',
        xtype : 'JsonReader'