Hi Jmix Team ,
I have my own custom create/edit/remove action extend default action base class as below
@ActionType("EditAction.ID")
public class CustomEditAction<E> extends EditAction<E> {
@Override
public void execute() {
.......
super.execute();
}
protected void initAction() {
super.initAction();
this.setConstraintEntityOp(EntityOp.UPDATE);
this.icon = null;
}
}
I noticed that this custom action class is unable to be implemented. Instead , it implement the Jmix default action class when I perform edit action in the screen. XML as below
<dataGrid columnReorderingAllowed="true" dataContainer="ad99ivrptSchemeDetDc" id="schemeDetTable"
width="100%">
<actions>
<action id="edit" type="list_edit"/>
</actions>
<columns>
............
</columns>
</dataGrid>
Questions :
Any rules that I need to configure in Configuration file to make use of my custom action ?
Best Regard,
Chee Hao