<if-empty field="parameters.estimatedStartDate">
<add-error>
<fail-message message="The FromDate is missing"/>
</add-error>
<check-errors/>
</if-empty>
Got this from the HumanRes services createPublicHoliday. It didn't work
although i tried to create a public holiday without passing in the
estimated start date.
Or did i test it wrongly?
Thanks
FooShyn
On Tue, Jul 3, 2012 at 5:04 PM, Adrian Crum <
[email protected]> wrote:
> Could you provide some sample code please?
>
> -Adrian
>
>
> On 7/3/2012 7:27 AM, Foo Shyn Chung wrote:
>
>> Hi all,
>>
>> I found that the add-error and check-errors behavior in the minilang
>> services is not working. Found the following email archive but after patch
>> to it, it is still not working.
>>
>> http://ofbiz.135035.n4.nabble.**com/Re-svn-commit-r1331811-**
>> ofbiz-trunk-framework-**minilang-src-org-ofbiz-**minilang-method-callops-
>> **AddErrora-td4625501.html<http://ofbiz.135035.n4.nabble.com/Re-svn-commit-r1331811-ofbiz-trunk-framework-minilang-src-org-ofbiz-minilang-method-callops-AddErrora-td4625501.html>
>>
>> Anyone has any idea what is wrong?
>>
>> FYI the code i'm using is 12.04. I tried with using the latest trunk and
>> still getting the same problem.
>>
>> Thanks
>> FooShyn
>>
>>
>
>