Ok. Thanks lots.

Thanks
FooShyn

On Tue, Jul 3, 2012 at 10:48 PM, Adrian Crum <
[email protected]> wrote:

> I will be back-porting the Mini-language overhaul to the Release 12 branch
> some time next week.
>
> -Adrian
>
>
> On 7/3/2012 3:34 PM, Foo Shyn Chung wrote:
>
>> I see. Anyway that i can patch to the branch? Because i'm using the 12.04
>> branch, and I'd applied the changes you mentioned in the email that i
>> posted, but still it doesn't work.
>>
>> The file that i'd patch is the CheckErrors and the MiniLangValidate
>> classes
>>
>> Thanks
>> FooShyn
>>
>> On Tue, Jul 3, 2012 at 9:09 PM, Adrian Crum <
>> adrian.crum@sandglass-**software.com <[email protected]>>
>> wrote:
>>
>>  I can confirm the <check-errors> element is working correctly in the
>>> trunk. I would suggest putting a <log> element inside the <if-empty>
>>> element to confirm the <check-errors> element is being executed.
>>>
>>> -Adrian
>>>
>>>
>>> On 7/3/2012 11:57 AM, Foo Shyn Chung wrote:
>>>
>>>  Thanks Adrian. Please keep me updated ya.
>>>>
>>>> Thanks
>>>> FooShyn
>>>>
>>>> On Tue, Jul 3, 2012 at 5:32 PM, Adrian Crum <
>>>> adrian.crum@sandglass-**softwa**re.com <http://software.com> <
>>>> adrian.crum@sandglass-**software.com<[email protected]>
>>>> >>
>>>>
>>>> wrote:
>>>>
>>>>   That code is correct and it should work. I will look into it.
>>>>
>>>>> -Adrian
>>>>>
>>>>>
>>>>> On 7/3/2012 10:10 AM, Foo Shyn Chung wrote:
>>>>>
>>>>>   <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 <
>>>>>> adrian.crum@sandglass-****softwa**re.com <http://software.com> <
>>>>>>
>>>>>> adrian.crum@sandglass-**softwa**re.com <http://software.com><
>>>>>> adrian.crum@sandglass-**software.com<[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<****htt**p://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/**<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<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
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>
>
>

Reply via email to