Swing: Windows for Notification and Request Button are hardcoded
Description
On the main entry page are two buttons to open notifications and requests. In zk the Request Button opens the menu item with the name "request" (see DPActivities.java). In Swing this name is hardcoded (see AMenu.java).
As a good iDempiere implementor you should often copy a given window and adjust the copy to your needs. You can't do that if the window id is hardcoded. And it is bad if the two ui clients behave not the same at this point.
My proposal is to steal the select statements from zk an insert them into the swing code.
On the main entry page are two buttons to open notifications and requests. In zk the Request Button opens the menu item with the name "request" (see DPActivities.java). In Swing this name is hardcoded (see AMenu.java).
As a good iDempiere implementor you should often copy a given window and adjust the copy to your needs. You can't do that if the window id is hardcoded. And it is bad if the two ui clients behave not the same at this point.
My proposal is to steal the select statements from zk an insert them into the swing code.