You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.
I did hardcore version link ExcelExportAction to the button instead of xml <action id="anyName" type="excelExport">
and i got NPE in getIcon method caused by Icons icons component was null (not injected by @Autowired)
So if facade and override it with @Override public String getIcon() {return "";} action will work
The problem occurs due to io.jmix.ui:jmix-ui-export dependency.
I think, io.jmix.ui:jmix-ui-export usage is not recommended, because Auto Configuration may have conditional beans and you should manually add UiExportConfiguration to the app configuration like this:
@SpringBootApplication
@Import(UiExportConfiguration.class)
public class DemoAppApplication {
public static void main(String[] args) {
SpringApplication.run(DemoAppApplication.class, args);
}
}
For ui-export module we have io.jmix.ui:jmix-ui-export-starter that will add UiExportConfiguration to the app context.
@KartonDCP regard to NPE in ExcelExportAction, any action must be created by io.jmix.ui.Actions bean, because we consider that action is a Spring Bean.
implementation 'io.jmix.ui:jmix-ui-export'
)<action id="anyName" type="excelExport">
The text was updated successfully, but these errors were encountered: