Action is not called on list_create

image
this is my xml file.

my function in controller is:

@Install(to = "entityDataGrid.vacancy", subject = "newEntitySupplier")
    private Vacancy entityDataGridVacancyNewEntitySupplier() {
        Vacancy request = entityDataGrid.getSingleSelectedItem();
        if (request == null) return null;

        Vacancy vacancy = metadataTools.copy(request);
        vacancy.setId(UuidProvider.createUuid());
        vacancy.setState(VacancyState.VACANCY);
        return vacancy;
    }

The newEntitySupplier, transformation, initializer, afterSaveHandler handlers are invoked only if the action opens the detail view in dialog mode.

Now it’s mentioned in the Javadocs of the corresponding setters of the CreateAction class. We’ll think how to make this information more explicit.