ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jen Sing Choe <jensing.c...@b2b.com.my>
Subject Displaying 'No record Found' in the form widget
Date Wed, 29 Jan 2014 03:49:35 GMT

my objective is to put a message stated 'No record found' when the
searching criteria does not return any result.

i had tried the below option, but it is not working

Option 1
<set field="listItSize" value="${groovy:listIt.nextIndex()}"
<field  use-when="listItSize == null"

Option 2

are there any workaround on this ?
It seem the widget or the engine would not render the <field> when it is
empty result from the

<service service-name="performFind" result-map="result"

thus causing the "use-when" not evaluated.

Disclaimer : This E-mail is intended only for the use of the individual or 
entity named above and may contain information that is confidential. If you 
are not the intended recipients, please immediately notify us by return 
email and delete it from your system. Any unauthorised dissemination, 
distribution or copying of this email is strictly prohibited. Thank You.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message