Login  Register

Re: Users - sendMailToRoles

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



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.
>  
>

Andrew,

Thanks for the clues about that. Setting those parameters in my result
Map cured the problem

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