Skip to content

Commit

Permalink
construction panel is commented for a while
Browse files Browse the repository at this point in the history
  • Loading branch information
KaterynaHonchar committed Mar 21, 2018
1 parent e7eff87 commit 243b3ab
Showing 1 changed file with 8 additions and 8 deletions.
Expand Up @@ -123,17 +123,17 @@ private void addOrReplaceProperties(IModel<ContainerWrapper<C>> model, final For

@Override
protected void populateItem(ListItem<ContainerValueWrapper<C>> item) {
//todo simplified construction panel will be in the gui starting from 3.8
if (model.getObject().getName().equals(AssignmentType.F_CONSTRUCTION)){
ConstructionDetailsPanelChainedModel panel = new ConstructionDetailsPanelChainedModel("value",
Model.of((ConstructionType)item.getModelObject().getContainerValue().asContainerable()));
panel.setOutputMarkupId(true);
item.add(panel);
} else {
// //todo simplified construction panel will be in the gui starting from 3.8
// if (model.getObject().getName().equals(AssignmentType.F_CONSTRUCTION)){
// ConstructionDetailsPanelChainedModel panel = new ConstructionDetailsPanelChainedModel("value",
// Model.of((ConstructionType)item.getModelObject().getContainerValue().asContainerable()));
// panel.setOutputMarkupId(true);
// item.add(panel);
// } else {
ContainerValuePanel<C> containerPanel = new ContainerValuePanel<C>("value", item.getModel(), true, form, isPanelVisible, pageBase);
containerPanel.setOutputMarkupId(true);
item.add(containerPanel);
}
// }

}

Expand Down

0 comments on commit 243b3ab

Please sign in to comment.