|
|
|
@ -435,7 +435,8 @@ public class ResourceDetailModel {
|
|
|
|
|
********************************************/
|
|
|
|
|
// The column model for grid representation
|
|
|
|
|
modelColumns = new ArrayList<ColumnConfig>();
|
|
|
|
|
modelColumns.add(new ColumnConfig("Name", "Name", 500));
|
|
|
|
|
modelColumns.add(new ColumnConfig("Name", "Name", 200));
|
|
|
|
|
modelColumns.add(new ColumnConfig("Description", "Description", 400));
|
|
|
|
|
modelColumns.add(new ColumnConfig("Scopes", "Scopes", 300));
|
|
|
|
|
|
|
|
|
|
//Optional
|
|
|
|
@ -445,7 +446,7 @@ public class ResourceDetailModel {
|
|
|
|
|
|
|
|
|
|
// create the column model
|
|
|
|
|
cm = new ColumnModel(modelColumns);
|
|
|
|
|
for (int i = 2; i < modelColumns.size(); i++) {
|
|
|
|
|
for (int i = 3; i < modelColumns.size(); i++) {
|
|
|
|
|
cm.setHidden(i, true);
|
|
|
|
|
}
|
|
|
|
|
RECORD_DEFINITION.put(ResourceTypeDecorator.GenericResource.name(), cm);
|
|
|
|
@ -456,6 +457,7 @@ public class ResourceDetailModel {
|
|
|
|
|
type.setRecordName("Resource");
|
|
|
|
|
type.addField("ID");
|
|
|
|
|
type.addField("Name");
|
|
|
|
|
type.addField("Description");
|
|
|
|
|
type.addField("Scopes");
|
|
|
|
|
type.addField("SubType");
|
|
|
|
|
type.addField("Type");
|
|
|
|
|