Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-44

Add capability to call java functions directly from actions in screen widgets

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • Trunk
    • None
    • framework
    • 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

      Attachments

        1. 06-06-21 Java Action.patch
          5 kB
          Vinay Agarwal

        Activity

          People

            jleroux Jacques Le Roux
            vinaykagarwal Vinay Agarwal
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: