DevelopmentException: Target com.haulmont.cuba.gui.components.Table$Column

Hello Team,

I have the following structure:

<button id ="statusBtn" action = "transactionsTable.status"/>
 <action id="status"
                        caption="Complete Status "
    public void onTransactionsTableStatus(Action.ActionPerformedEvent event) {


Unfortunately when I try to open the Transaction Browser Screen I have the next error:

DevelopmentException: Target com.haulmont.cuba.gui.components.Table$Column does not support event type class com.haulmont.cuba.gui.components.Action$ActionPerformedEvent

Please advice!
Best Regards,

Please provide the whole screen XML.


I saw that I also have a column named status.
I renamed:
<button id ="statusBtn" action = "transactionsTable.statuss"/>
and now I don’t have DevelopmentException error.
Unfortunately when I press the button the system does’t enter in onTRansactionsStatuss method.
Because is not a standard action should be defined elsewhere?
Best Regards,

Unfortunately, we cannot reproduce the problem. Could you please provide more information about your problem? Which version of the platform do you use? If it is possible, could you share the xml file of your screen or a small project in order to help us investigate the problem?

Check, that the action you define is placed inside the table tag. Here is the example:

        <table id="usersTable" height="200px" width="100%" dataContainer="usersDc">
                <action id="statuss" trackSelection="true"
                        caption="Complete Status"
                <action id="create" type="create"/>
                <button id="usersTableStatussBtn" action="usersTable.statuss"/>
                <button id="usersTableCreateBtn" action="usersTable.create"/>
                <column id="login"/>
                <column id="name"/>
                <column id="firstName"/>
                <column id="lastName"/>
                <column id="middleName"/>              


Hi Natalia,
I’ve tested again and now it’s working (I think was a Hot Deploy problem.).
Meantime I use

    public void onSetBtnClick(Button.ClickEvent event) {


However what is the difference between subscribe to a Click Button event and subscribe to an ActionPerformed event? There are the same?

Best Regards,

Subscription to ActionPerformedEvent is used to override/determine what will be executed when the action is triggered. You can declare a new action in various components, such as PopupButton, Table, PickerField. Also, you can declare actions for the whole screen and performed it by several components. See the documentation.

ClickEvent is used to handle clicks on the exact Button component on the screen.

If action is bound to a button, you have to subscribe to ActionPerformedEvent.


1 Like

Thank you!

1 Like