Login  Register

Re: Users - sendMailToRoles

Posted by Charles Johnson-4 on Apr 28, 2006; 12:51pm
URL: http://ofbiz.116.s1.nabble.com/Users-sendMailToRoles-tp138731p138743.html



David E Jones wrote:

>Charles,
>
>Which version of OFBiz are you using? If I remember right this was a problem a long time ago but is no longer.
>
>-David
>
>
>
>Andrew Sykes wrote:
>  
>
>>Charles,
>>
>>    
>>
>>>I'll check the IN/OUT parameters - not really 100% sure how that works anyway.
>>>      
>>>
>>A quick summary...
>>
>>OFBiz services take and return a Map of values, input values are
>>validated before the service is run and output values are validated
>>after the service runs.
>>
>>The services.xml (called this by convention - not imperative) file is
>>used to define the input and output parameters as well as their type, so
>>the definition of a parameter looks something like this...
>>
>><attribute name="myvalue" type="String" mode="IN" optional="true"/>
>>
>>"myvalue" is the name you assign to your parameter.
>> e.g. when compiling the input map you might do something like
>> inputMap.put("myvalue",new String("This is my input value"));
>>
>>"type" is the java type, any java type is allowed here (e.g.
>>java.util.List )
>>
>>"mode" can be either...
>> IN input parameter only
>> OUT output parameter only
>> INOUT used as both an input and output parameter
>>
>>"optional" if set to false then service validation will fail if the
>>parameter is missing.
>>
>>I hope that helps.
>>    
>>
>
>_______________________________________________
>Users mailing list
>[hidden email]
>http://lists.ofbiz.org/mailman/listinfo/users
>
>
>  
>

>>Which version of OFBiz are you using?

6860. I'd be grateful if you could advise reasonably quickly before i waste too much time ;-)

CJ

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users