I have a Datagrid in which has the standard action
<action id="create" type="list_create" />
and a button that calls it above:
<button id="createBtn" action="someDataGrid.create" />
the automatically created initializer does not get called:
@Install(to = "someDataGrid.create", subject = "initializer")
private void someDataGridCreateInitializer(final someEntity entity) {
initService(entity)
}
What can be done? I do not want to initialize in the detail view, because that gets called also when I open a view with a newly created copy of an entity. Another irritating thing that seems new to me, as I think in previous versions, if editEntity(entity)
was called, the initEnitity
Listener would not be called in the then so called edit screens.
Thanks