Details
-
New Feature
-
Status: Patch Available
-
Minor
-
Resolution: Unresolved
-
Trunk, Upcoming Branch
-
None
-
None
-
Bug Crush Event - 21/2/2015
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.