Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
Trunk
-
None
-
None
Description
This patch adds capability to call java function directly from actions in screen widgets. The call looks like
<java location="org.ofbiz.MyActions" invoke="someFunction"/>
The called function is declared as follows
public static void someFunction(Map context) {
...
}
The benefits of having java functions are
1. Better code writing support from IDE
2. Breakpoint capability
Regards,
Vinay Agarwal