CUBA Studio Component Inspector For Custom Action Type

Hi CUBA Team,

I have a question for the CUBA Studio. I’ve custom a remove action. Follow below posts

https://doc.cuba-platform.com/manual-latest/custom_action_types.html

image

I found the confirmation, confirmationTitle and confirmation msg disappear. What is the proper way to override existing action type?

Please advise

Further Testing - if I register under same name, I will have 2 same names at my studio

I’m using CUBA Platform 7.2.10 and CUBA Studio 2020.2 x64

Regards,
CK

Hi,

If you want to replace RemoveAction globally in your project, try steps from this page:
https://doc.cuba-platform.com/manual-7.2/custom_action_types.html

Extend your action from com.haulmont.cuba.gui.actions.list.RemoveAction

Hi Alex,

I did try to extends from com.haulmont.cuba.gui.actions.list.RemoveAction by follow the url.

image

I have 2 remove actions after extend. Is it something I miss out ?

Regards,
CK

Looks like a Studio bug. We’ll investigate it.

Hi Alex,

I’d like to follow up.

Regards,
CK

Hi,
The ticket for Studio is https://youtrack.cuba-platform.com/issue/STUDIO-9111.

Sorry, not sure I understand what do you mean by “follow up”.

Hi Alex,

Sorry. I mean how is the update of the issue.

Happy to see the ticket has opened. :slight_smile:

Regards,
CK

@AlexBudarov

Just an update, I tested 7.2.11 ver.

found the confirmation, confirmationTitle and confirmation msg are displayed. Previously not working on 7.2.10

Unfortunately, the duplicate remove action items still persist and this ver. cannot show my custom action if there is 2 action items listed at the drop list.

I have made a workaround to use the another name to differentiate CUBA default remove action and my custom remove action.

Regards,
CK