[ http://issues.apache.org/jira/browse/OFBIZ-44?page=comments#action_12459241 ] Chris Howe commented on OFBIZ-44: ---------------------------------
Has this been decided as "won't fix"? While having the patch here for others might be beneficial, I think the consensus is that we wouldn't want to encourage it's use in community code. Would it be possible to add a JIRA resolution status to reflect when there is a tool available that's not community supported? > Add capability to call java functions directly from actions in screen widgets > ------------------------------------------------------------------------------ > > Key: OFBIZ-44 > URL: http://issues.apache.org/jira/browse/OFBIZ-44 > Project: OFBiz (The Open for Business Project) > Issue Type: New Feature > Components: framework > Affects Versions: SVN trunk > Reporter: Vinay Agarwal > Attachments: 06-06-21 Java Action.patch > > > 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 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
