Pman.Dialog.VerifyAccess.bjs
[Pman.Core] / Pman.Dialog.VerifyAccess.bjs
index c36a202..710bb80 100644 (file)
@@ -10,6 +10,7 @@
   "d41d8cd98f00b204e9800998ecf8427e" : "",
   "f6039d44b29456b20f8f373155ae4973" : "Username",
   "004bf6c9a40003140292e97330236c53" : "Action",
+  "5a787141d53b573ec9b86e900bfe0d79" : "Expire Date",
   "dfb790522fdea3859af206d32916fe77" : "User Agent",
   "70d9be9b139893aa6c69b5e77e614311" : "Confirm"
  },
            "$ xns" : "Roo.bootstrap"
           }
          ]
-        }
-       ]
-      },
-      {
-       "xtype" : "Row",
-       "$ xns" : "Roo.bootstrap",
-       "items" : [
+        },
         {
          "xtype" : "Column",
          "Number xs" : 12,
            "String style" : "margin-bottom: 15px;"
           }
          ]
-        }
-       ]
-      },
-      {
-       "xtype" : "Row",
-       "$ xns" : "Roo.bootstrap",
-       "items" : [
+        },
         {
          "xtype" : "Column",
          "Number xs" : 12,
@@ -93,6 +82,7 @@
             "select" : "function (combo, record, index)\n{\n    \n}"
            },
            "Boolean allowBlank" : false,
+           "Boolean selectOnFocus" : true,
            "String name" : "status_name",
            "String mode" : "local",
            "String valueField" : "code",
            "xtype" : "ComboBox",
            "String triggerAction" : "all",
            "string fieldLabel" : "Action",
+           "Boolean alwaysQuery" : true,
            "$ xns" : "Roo.bootstrap",
+           "String/Roo.Template tpl" : "<div class=\"roo-select2-result\"><b>{value}</b></div>",
            "String hiddenName" : "status",
            "String displayField" : "value",
+           "String indicatorpos" : "right",
+           "Boolean forceSelection" : true,
            "items" : [
             {
-             "$ string data" : "[\n    ['1', 'Approve'],\n    ['-1', 'Reject']\n] ",
+             "$ string data" : "[\n    ['1', 'Approve'],\n    ['-2', 'Temporary'],\n    ['-1', 'Reject']\n] ",
              "xtype" : "SimpleStore",
              "$ xns" : "Roo.data",
              "$ fields" : "[ 'code', 'value' ]",
            ]
           }
          ]
+        },
+        {
+         "xtype" : "Column",
+         "Number xs" : 12,
+         "$ xns" : "Roo.bootstrap",
+         "items" : [
+          {
+           "listeners" : {
+            "render" : "function (_self)\n{\n    _this.expire_dt = this;\n    \n    this.setStartDate(new Date());\n    \n    this.el.setVisibilityMode(Roo.Element.DISPLAY);\n    \n    //this.el.hide();\n}"
+           },
+           "Boolean allowBlank" : false,
+           "String name" : "expire_dt",
+           "xtype" : "DateField",
+           "string fieldLabel" : "Expire Date",
+           "$ xns" : "Roo.bootstrap",
+           "String indicatorpos" : "right"
+          }
+         ]
         }
        ]
       },