priceContext =
UtilMisc.toMap("product", product, "currencyUomId",
cart.getCurrency(),
"autoUserLogin",
autoUserLogin, "userLogin", userLogin);
This is just an easy way to create a java.util.Map.
>From your IDE, you should be able to find the source code of this function.
priceContext.put("webSiteId", webSiteId);
priceContext.put("prodCatalogId", catalogId);
priceContext.put("productStoreId", productStoreId);
These are just putting objects in the map. Read java.util.Map
for details.
priceMap = dispatcher.runSync("calculateProductPrice", priceContext);
This is calling the service "calculateProductPrice".
You can find more details of this service from webtools – service reference.
>From there, you can find out where this service is defined and then you can
look at the source code.
Regards,
Vinay Agarwal
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users