ItEr35S15CUAdministracionCategoriaCosteItEr34S15: implemented creation of TypeOfWorkHours
This commit is contained in:
parent
4f2cfbb243
commit
3afefed2c0
3 changed files with 8 additions and 4 deletions
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -51,4 +51,7 @@
|
|||
</row>
|
||||
</rows>
|
||||
</newdatasortablegrid>
|
||||
<button id="show_create_form" onClick="controller.goToCreateForm();"
|
||||
label="${i18n:_('Create')}">
|
||||
</button>
|
||||
</window>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue