OFBiz
  1. OFBiz
  2. OFBIZ-4379

Get first from list tag in screen's and form's action tag.

    Details

    • Type: New Feature New Feature
    • Status: Patch Available
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: SVN trunk
    • Fix Version/s: None
    • Component/s: framework
    • Labels:
      None

      Description

      In most of the cases we need to get first record from a list in screen and form widgets then we have to do something like this:
      for eg:
      <set field="websiteContent" value="$

      {groovy: org.ofbiz.entity.util.EntityUtil.getFirst(websiteContentList);}

      "/>

      Instead of using like this my idea is to add a tag like <first-from-list/> in Screen & Form widget's action tag, so one can easily get first record from a list.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Ankit Jain
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development