ItEr35S15CUAdministracionCategoriaCosteItEr34S15: implemented creation of TypeOfWorkHours

This commit is contained in:
Jacobo Aragunde Pérez 2009-12-02 20:58:26 +01:00 committed by Javier Moran Rua
parent 4f2cfbb243
commit 3afefed2c0
3 changed files with 8 additions and 4 deletions

View file

@ -31,7 +31,7 @@ public interface ITypeOfWorkHoursCRUDController {
public abstract void goToEditForm(TypeOfWorkHours typeOfWorkHours);
@EntryPoint("create")
public abstract void goToCreateForm(TypeOfWorkHours typeOfWorkHours);
public abstract void goToCreateForm();
@EntryPoint("list")
public abstract void goToList();

View file

@ -77,9 +77,10 @@ public class TypeOfWorkHoursCRUDController extends GenericForwardComposer implem
}
@Override
public void goToCreateForm(TypeOfWorkHours typeOfWorkHours) {
// TODO Auto-generated method stub
public void goToCreateForm() {
typeOfWorkHoursModel.initCreate();
getVisibility().showOnly(createWindow);
Util.reloadBindings(createWindow);
}
@Override

View file

@ -51,4 +51,7 @@
</row>
</rows>
</newdatasortablegrid>
<button id="show_create_form" onClick="controller.goToCreateForm();"
label="${i18n:_('Create')}">
</button>
</window>