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 |
Yes
please as similar questions on the User Mailing list. this is not for Developers(users), but to discuss Ofbiz Development. Harsha Chadhar sent the following on 12/17/2008 12:31 AM: > 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 > > |
In reply to this post by Harsha Chadhar-3
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 |
In reply to this post by Harsha Chadhar-3
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" <[hidden email]> To: [hidden email] 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 |
Well, that depends... what do you need the productStoreId for in the project manager application? -David On Dec 18, 2008, at 4:52 AM, Harsha Chadhar wrote: > > 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" <[hidden email]> > To: [hidden email] > 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 > |
Free forum by Nabble | Edit this page |