Login  Register

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

Posted by Leon Torres-2 on Oct 29, 2005; 12:55am
URL: http://ofbiz.116.s1.nabble.com/OFBiz-Users-filter-out-null-empty-fields-in-form-widget-s-entity-options-tp136266.html

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