Roberto Sánchez
2014-01-10 59cdd2b7ebceae94fbecdb1eeb46a969666dc88f
securis/src/main/resources/static/js/catalogs.json
....@@ -28,6 +28,7 @@
2828 } ]
2929 }, {
3030 "name" : "License types",
31
+ "list_fields" : [ "code", "name", "application_name", "creationTimestamp" ],
3132 "resource" : "licensetype",
3233 "fields" : [ {
3334 "name" : "id",
....@@ -54,23 +55,66 @@
5455 "maxlength" : 500,
5556 "multiline" : 2
5657 }, {
57
- "name" : "application",
58
+ "name" : "application_id",
5859 "display" : "Application",
59
- "type" : "select",
60
- "readOnly" : true
60
+ "resource" : "application",
61
+ "type" : "select"
6162 }, {
6263 "name" : "creationTimestamp",
6364 "display" : "Creation date",
6465 "type" : "date",
6566 "readOnly" : true
67
+ }, {
68
+ "name" : "application_name",
69
+ "display" : "Application",
70
+ "listingOnly" : true
71
+ } ]
72
+}, {
73
+ "name" : "Organizations",
74
+ "list_fields" : [ "code", "name", "application_name", "creationTimestamp" ],
75
+ "resource" : "organization",
76
+ "fields" : [ {
77
+ "name" : "id",
78
+ "display" : "ID",
79
+ "type" : "number",
80
+ "pk" : true,
81
+ "readOnly" : true
82
+ }, {
83
+ "name" : "code",
84
+ "display" : "Code",
85
+ "type" : "string",
86
+ "maxlength" : 10,
87
+ "mandatory" : true
88
+ }, {
89
+ "name" : "name",
90
+ "display" : "Name",
91
+ "type" : "string",
92
+ "maxlength" : 45,
93
+ "mandatory" : true
94
+ }, {
95
+ "name" : "description",
96
+ "display" : "Description",
97
+ "type" : "string",
98
+ "maxlength" : 500,
99
+ "multiline" : 2
100
+ }, {
101
+ "name" : "application_id",
102
+ "display" : "Application",
103
+ "resource" : "application",
104
+ "type" : "select"
105
+ }, {
106
+ "name" : "creationTimestamp",
107
+ "display" : "Creation date",
108
+ "type" : "date",
109
+ "readOnly" : true
110
+ }, {
111
+ "name" : "application_name",
112
+ "display" : "Application",
113
+ "listingOnly" : true
66114 } ]
67115 }, {
68116 "name" : "Users",
69117 "resource" : "user",
70
- "fields" : []
71
-}, {
72
- "name" : "Organizations",
73
- "resource" : "organization",
74118 "fields" : []
75119 }, {
76120 "name" : "System params",