Book Image

ADempiere 3.6 Cookbook

Book Image

ADempiere 3.6 Cookbook

Overview of this book

Table of Contents (16 chapters)
ADempiere 3.6 Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface

Extending the desktop version of the toolbar


The toolbar is another great way to extend the capability of ADempiere. In ADempiere, a toolbar is a standard set of buttons and each button is mapped to an action, which is implemented as a Java program. For most of the parts so far, except the info windows, the configurations we did and the changes we made are equally applicable to the desktop version as well as the web version of ADempiere. However, the toolbar functionality has been implemented differently for the desktop and web variants. This recipe will list the steps to extend the desktop variant of the toolbar by adding a new button to it.

For our MOM case study, we are going to introduce a new Send Mail button. When a user clicks on it, the handler will send the active MOM details to all the participants of that MOM.

Note

Wherever applicable, I have mentioned the line number, next to the code, where the mentioned code shall be inserted in the existing Java file. While I don't guarantee...