ckwan
(Choon Kit Wan)
December 9, 2020, 7:00am
#1
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
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
albudarov
(Alexander Budarov)
December 10, 2020, 6:55am
#2
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
ckwan
(Choon Kit Wan)
December 10, 2020, 7:52am
#3
Hi Alex,
I did try to extends from com.haulmont.cuba.gui.actions.list.RemoveAction by follow the url.
I have 2 remove actions after extend. Is it something I miss out ?
Regards,
CK
albudarov
(Alexander Budarov)
December 10, 2020, 8:11am
#4
Looks like a Studio bug. We’ll investigate it.
albudarov
(Alexander Budarov)
December 14, 2020, 3:12pm
#6
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”.
ckwan
(Choon Kit Wan)
December 14, 2020, 3:34pm
#7
Hi Alex,
Sorry. I mean how is the update of the issue.
Happy to see the ticket has opened.
Regards,
CK
ckwan
(Choon Kit Wan)
January 14, 2021, 6:06am
#8
@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