ItEr29S06CUAsignacionGrupoRecursosAPlanificacionItEr28S06: Resource allocation window now is closable

This commit is contained in:
Diego Pino Garcia 2009-10-06 20:15:03 +02:00 committed by Javier Moran Rua
parent 58b195fb24
commit 39fac35072
2 changed files with 3 additions and 2 deletions

View file

@ -141,6 +141,7 @@ public class ResourceAllocationController extends GenericForwardComposer {
CalculationTypeRadio calculationTypeRadio = CalculationTypeRadio
.from(formBinder.getCalculatedValue());
calculationTypeRadio.doTheSelectionOn(calculationTypeSelector);
tbResourceAllocation.setSelected(true);
Util.reloadBindings(window);
try {
window.doModal();
@ -288,7 +289,7 @@ public class ResourceAllocationController extends GenericForwardComposer {
// Triggered when closable button is clicked
public void onClose(Event event) {
window.setVisible(false);
cancel();
event.stopPropagation();
}

View file

@ -82,7 +82,7 @@
</popup>
<window id="resourceAllocationWindow" self="@{define(content)}"
apply="${allocationController}"
apply="${allocationController}" closable="true"
title="${i18n:_('Resource allocation')}" width="600px" visible="false">
<tabbox mold="accordion">