[
http://issues.apache.org/jira/browse/OFBIZ-44?page=comments#action_12417595 ]
Jacopo Cappellato commented on OFBIZ-44:
----------------------------------------
Well,
I think it's a metter of taste: I really like bsh because you can test it without the need to rebuild and restart the server; I like having small script files because you can easily copy&customize them into custom component, or just add new custom bsh to integrate information.
Jacopo
> 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: The Open For Business Project
> Type: New Feature
> Components: framework
> 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