how to add a value to Map?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

how to add a value to Map?

indela
hi all,

i need to send the values to this bellow function Map argument.
public static Map sendOrderConfirmNotification(DispatchContext ctx, Map
context)
i want add currentCatalog to context.

please  help me...

thanks.....

--
View this message in context: http://ofbiz.135035.n4.nabble.com/how-to-add-a-value-to-Map-tp4631875.html
Sent from the OFBiz - User mailing list archive at Nabble.com.
Reply | Threaded
Open this post in threaded view
|

Re: how to add a value to Map?

Ankush Upadhyay
Add attribute in service def like <attribute name="currentCatalogId"
type="String" mode="IN" optional="true/false"/>
then at the time of calling this service prepare service context with
currentCatalogId like serviceMap("currentCatalogId", currentCatalogId);

On 05/17/2012 03:24 PM, indela wrote:

> hi all,
>
> i need to send the values to this bellow function Map argument.
> public static Map sendOrderConfirmNotification(DispatchContext ctx, Map
> context)
> i want add currentCatalog to context.
>
> please  help me...
>
> thanks.....
>
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/how-to-add-a-value-to-Map-tp4631875.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.

--
Thanks&  Regards
Ankush Upadhyay
[hidden email]