Changeset 3916
- Timestamp:
- Oct 25, 2010, 9:57:13 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/servlet/src/org/proteios/action/directory/ViewActiveDirectory.java
r3915 r3916 1028 1028 else 1029 1029 { 1030 // Add new column for template column not in source table 1031 Column column = new Column(templateColumnName); 1032 // If initial Id column, remove column name 1033 if (i == 0 && column.getValue().equals("Id")) 1034 { 1035 column.setValue(""); 1036 } 1037 tmpTable.add(column); 1038 log 1039 .debug("i = " + i + " templateColumnName = \"" + templateColumnName + "\" new column \"" + column 1040 .getValue() + "\" inserted."); 1030 // Of template columns not in source table, only add "Id" column 1031 if (templateColumnName.equals("Id")) 1032 { 1033 // Add new column for template column not in source table 1034 Column column = new Column(templateColumnName); 1035 // If initial Id column, remove column name 1036 if (i == 0 && column.getValue().equals("Id")) 1037 { 1038 column.setValue(""); 1039 } 1040 tmpTable.add(column); 1041 log 1042 .debug("i = " + i + " templateColumnName = \"" + templateColumnName + "\" new column \"" + column 1043 .getValue() + "\" inserted."); 1044 } 1041 1045 } 1042 1046 } … … 1127 1131 .getValue() + "\" inserted."); 1128 1132 } 1133 /* 1129 1134 else 1130 1135 { … … 1134 1139 .debug("New row i = " + i + " templateColumnName = \"" + templateColumnName + "\" empty cell inserted."); 1135 1140 } 1141 */ 1136 1142 } 1137 1143 // Construct adapted source row.
Note: See TracChangeset
for help on using the changeset viewer.