Plugin : editor which extends WButtonEditor doesn't work when tab in grid mode

76 views
Skip to first unread message

Nicolas Micoud

unread,
Sep 9, 2025, 2:09:10 AMSep 9
to iDempiere
Hi,

I have a tab which contains a button which do some stuff.
I do not need to have a process as there is no need to handle right access.

So I've just added a class in a plugin to extend WButtonEditor and added it on the class that implements IEditorFactory.

Everything works well when the tab is in form mode.
But not when the tab is in grid mode.

Any idea where to look? (I think something is missing in trunk?)

Thanks,

Nicolas

Nicolas Micoud

unread,
Sep 9, 2025, 2:10:24 AMSep 9
to iDempiere
A precision
If the button is displayed on the toolbar, it works in both grid/form mode.

Regards,

Nicolas

Nicolas Micoud

unread,
Sep 12, 2025, 6:42:36 AMSep 12
to iDempiere
When in grid mode, the onEvent method from the plugin is "ignored".
When re-switching to form mode, the class from the plugin is used.

Seems like the class is "deconnected" when in grid mode ; I can't find where this behaviour is implemented.

Carlos Ruiz

unread,
Sep 21, 2025, 8:08:31 AM (10 days ago) Sep 21
to iDempiere
Reply all
Reply to author
Forward
0 new messages