I have not thought this through all the way yet.
Plus David is working on a Multiple hosting solution so his approach may
not be the same.
First consideration is do you want the catalog to be independent of the
product store, say like for just a user login.
Not sure of the best practices about where to place actual links
Each Ecommerce has a web.xml and ofbiz-component.xml
The Web.xml lets you define parameters to be used in that specific
component. so you can use a parameter there.
you could consider taking data from the webapp in the ofbiz-component.xml.

it also has productstore entity and Website Entity.
if all your catalogs will be tied to a product store, you might use the
website entity as a source.

my 2cents



Ashish Vijaywargiya sent the following on 2/13/2010 7:16 AM:
> Hello,
> 
> On the backend catalog application we have a link "Product Page"
> button for navigating to the Product Detail page in Ecommerce
> Component.
> http://img714.imageshack.us/img714/9707/productpage.png
> 
> https://localhost:8443/catalog/control/EditProduct?productId=GZ-2644
> 
> The value for ecommerce component is hardcoded on the link.
> 
> <link target="/ecommerce/control/product" url-mode="inter-app"
> text="${uiLabelMap.ProductProductPage}" style="buttontext">
>     <parameter param-name="product_id" from-field="productId"/>
> </link>
> 
> So if we create custom application then this page redirect to the
> ecommerce application, which is not correct IMO. If we talk about
> single custom application then we can maintain a patch and can fix
> this line of code.
> But how should we handle the case when we have multiple custom
> component and we may need to redirect to the custom ecommerce
> component that doesn't have ecommerce as a mount point and that
> contains this specific product that we are editing.
> 
> How can we handle this scenario?
> Do we have any settings in OFBiz that can be used to handle this case?
> 
> Any help on this would be greatly appreciated.
> 
> --
> Ashish Vijaywargiya
> http://www.saveourtigers.com/
> 

Reply via email to