You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by indela <in...@gmail.com> on 2012/05/17 11:54:28 UTC

how to add a value to Map?

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.

Re: how to add a value to Map?

Posted by Ankush Upadhyay <an...@hotwaxmedia.com>.
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
ankush.upadhyay@hotwaxmedia.com