Remove code attribute from templates finder.

The column still exists but it is left blank. TODO: remove the column.

FEA: ItEr76S26RemoveExternalCodeFromTemplates
This commit is contained in:
Jacobo Aragunde Pérez 2012-04-28 13:18:38 +02:00
parent 801ffc456e
commit 47ccb4d257

View file

@ -79,7 +79,7 @@ public abstract class TemplateFinder<T extends OrderElementTemplate> extends
}
protected String extractStringFor(T template) {
return template.getName() + " (" + template.getCode() + ")";
return template.getName();
}
@Override
@ -92,7 +92,6 @@ public abstract class TemplateFinder<T extends OrderElementTemplate> extends
protected void generateColumnsForRenderer(Listitem item, T template) {
final Listcell codeCell = new Listcell();
codeCell.setLabel(template.getCode());
codeCell.setParent(item);
codeCell.setStyle("width:200px");