Thanks. But as per my requirement I need only productStoreId in other component(projectMgr).For only this is it good to add webSiteId in the component or Is there any other way to get productStoreId in my component ?
----- Original Message ----- From: "David E Jones" <[email protected]> To: [email protected] Sent: Thursday, December 18, 2008 2:53:49 PM GMT +05:30 Chennai, Kolkata, Mumbai, New Delhi Subject: Re: Problem Using Ecommerce Controller There are many things based on the webSiteId. The easiest way to get an intro to them is to look at the WebSite entity. In ecommerce the productStoreId (the default store for the web site) is an important value, but there are others as well. -David On Dec 17, 2008, at 1:31 AM, Harsha Chadhar wrote: > Hello All, > > I have to use the controller from ecommerce component in some other > component.That needs to set the productStoreId in the component > itself,as without this it prompts an error "productStore not > found".As a consequence I have to set the webSiteId in context > paramaters of the component's web.xml. > Is this the feasible solution to set the webSiteId in the > component's web.xml for serving this purpose only, or there could be > some other,please suggest. > > Thanks and Regards > Harsha
