ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From james_sg <snowme...@hotmail.com>
Subject Re: condition-service tag
Date Tue, 16 Dec 2014 09:18:31 GMT
Thanks Deepak


Deepak Dixit-2 wrote
> Hi James,
> 
> Here is an example of condition-service:
> <condition-service service-name="isTestConditionService”/>
> Here is the service definition:
> 
> &lt;service name=&quot;isTestConditionService&quot;
> engine=&quot;simple&quot;
>             location=“&lt;location&gt;" invoke="isTestConditionService"
> auth="true">
>         
> <description>
> Test service for condition-service
> </description>
>         
> <attribute name="serviceContext" mode="IN" type="Map" optional="true"/>
>         
> <attribute name="serviceName" mode="IN" type="String" optional="true"/>
>         
> <attribute name="conditionReply" mode="OUT" type="Boolean"/>
> </service>
> Service must return conditionReply as Boolean.
> 
> Thanks & Regards
> —
> Deepak Dixit
> 
> 
>> On Dec 16, 2014, at 9:34 AM, Jacques Le Roux &lt;

> jacques.le.roux@

> &gt; wrote:
>> 
>> There are no examples. You simply specify the name of a service, and it
>> calls that service with the current ECA context. The service returns a
>> boolean. I must say I never used it...
>> 
>> Jacques
>> 
>> Le 15/12/2014 17:16, james_sg a écrit :
>>> Hi all,
>>> 
>>> I am looking to use the condition-service tag in an eca. Can't find an
>>> example for it.
>>> 
>>> Regards,
>>> James
>>> 
>>> 
>>> 
>>> --
>>> View this message in context:
>>> http://ofbiz.135035.n4.nabble.com/condition-service-tag-tp4659623.html
>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>> 
> 
> 
> 
> smime.p7s (6K)
> &lt;http://ofbiz.135035.n4.nabble.com/attachment/4659641/0/smime.p7s&gt;





--
View this message in context: http://ofbiz.135035.n4.nabble.com/condition-service-tag-tp4659623p4659649.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Mime
View raw message