[OFBiz] Users - filter out null/empty fields in form widget's entity-options

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[OFBiz] Users - filter out null/empty fields in form widget's entity-options

Leon Torres-2
Hi, I'm using the entity-option to create a dropdown from
PartyRoleAndPartyDetail, but filtered for role INTERNAL_ORGANIZATIO. The
problem is that there are some entries with no name. I'd like to filter
them out. How can I accomplish that? Here's my code snippet:

<drop-down allow-empty="false">
   <entity-options entity-name="PartyRoleAndPartyDetail"
         description="${groupName} ${firstName} ${lastName}"
         key-field-name="partyId">
     <entity-constraint name="roleTypeId" operator="equals"
             value="INTERNAL_ORGANIZATIO"/>
     <!-- I need a condition to filter out null groupName, firstName and
last Name -->
   </entity-options>
</drop-down>
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users