JADE Environment Development Ideas

What's new in the upcoming JADE release?

IMPROVED DEVELOPER EFFICIENCY. ENHANCED SECURITY. SMOOTHER INTEGRATION

The JADE 2022 release meets tomorrow’s business demands.


Start your update to JADE's latest release

Custom Menu Item Events

Using the new collections for child Controls & MenuItems, I've been experimenting with the use of custom control & menu item events to handle populating/refreshing the state of each in a recursive manner (as opposed to using large methods which know about all controls/menu items).

When adding a custom event to a control class using the CallControlEvent entrypoint (jadpmap), the control events are shown by the IDE as expected.

When adding a custom event to the menu item class using the CallMenuEvent entrypoint (like the click/select events), they're not shown as an event for the menu item by the IDE like controls. But the CallMenuEvent entrypoint does work as expected at runtime if you added a <menu-item>_<event> method to the form manually.

Ideally, the inconsistent behaviour would be fixed so custom menu events which can be implemented are shown by the IDE like custom control events.

  • Kevin Saul
  • Aug 5 2020
  • Ready for Release
  • Attach files