O'Reilly logo

ADempiere 3.6 Cookbook by Ajit Kumar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a new info window for the web version

This recipe describes the steps applicable for the web version of ADempiere when it comes to creating a new info window.

How to do it...

  1. Go to the zkwebui/WEB-INF/src/org/adempiere/webui/panel folder of your adempiere_360 project and create an InfoMOMPanel class, which extends InfoPanel class and implements EventListener interface. Make sure that the title is set to InfoMOM.
  2. Add the following code block in the createViewPanel() method in the org.adempiere.webui.dashboard.DPViews.java class:
    if (MRole.getDefault().isAllow_Info_Mom()) { ToolBarButton btnViewItem = new ToolBarButton("InfoMOM"); btnViewItem.setLabel(Msg.getMsg(Env.getCtx(), "InfoMOM")); btnViewItem.addEventListener(Events.ON_CLICK, this); ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required