You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Jacques Le Roux <ja...@les7arts.com> on 2013/09/13 10:12:47 UTC
Remove useless websiteid in most applications and specialupurpose
webapps (web.xml and data files)
Hi Hans,
This makes sense http://svn.apache.org/viewvc?rev=1153352&view=rev
Because these back-end applications do not have a website and probably never will remove the website records and definitions in web.xml as an experiment for the accounting, order, product and party component. if there are no problems others will follow....
I think we should continue in applications (not content?) and do the same for all specialpurpose applications but ecommerce and maybe cmssite
Then I will update this page https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=6553757
and we should comment in ScreenRenderer.populateContextForRequest() to clarify which webapps are concerned
Jacques
Re: Remove useless websiteid in most applications and
specialupurpose webapps (web.xml and data files)
Posted by Jacques Le Roux <ja...@les7arts.com>.
At revision: 1526686
I put a better comment in templates/web.xml and removes useless and confusing websiteId in web.xml files
I did not remove some others, but I believe they don't make sense as they are.
Take for instance those data
<WebSite webSiteId="EBAY_STORE1" siteName="eBay Store1" standardContentPrefix="http://demo.ofbiz.org" productStoreId="90101"/>
<WebSite webSiteId="EBAY_STORE2" siteName="eBay Store2" standardContentPrefix="http://demo.ofbiz.org" productStoreId="90102"/>
<WebSite webSiteId="GOOGLEBASE" standardContentPrefix="http://demo.ofbiz.org" productStoreId="9000" />
Sorry but http://demo.ofbiz.org/ leads nowhere!
And do we need to keep those referring to productStoreId="9000" in web.xml files? They have not their own webapps
<WebSite webSiteId="CmsSite" siteName="CMS Web Site"/>
<WebSite webSiteId="OfbizSite" siteName="OFBiz Web Site"/>
<WebSite webSiteId="GOOGLECHECKOUT" productStoreId="9000" />
<WebSite webSiteId="GOOGLECHECKOUT" productStoreId="9000" />
I think we should keep in web.xml files, only ecommerce/clone and webPos (uses POS store)
Jacques
Jacques Le Roux wrote:
> Hi Hans,
>
> This makes sense http://svn.apache.org/viewvc?rev=1153352&view=rev
> You said
> <<Because these back-end applications do not have a website and probably never will remove the website records and definitions in
> web.xml as an experiment for the accounting, order, product and party component. if there are no problems others will follow.... >>
>
> I think we should continue in applications (not content?) and do the same for all specialpurpose applications but ecommerce and
> maybe cmssite
>
> Then I will update this page https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=6553757
> and we should comment in ScreenRenderer.populateContextForRequest() to clarify which webapps are concerned
>
>
> Jacques