Remove useless websiteid in most applications and specialupurpose webapps (web.xml and data files)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Remove useless websiteid in most applications and specialupurpose webapps (web.xml and data files)

Jacques Le Roux
Administrator
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
Reply | Threaded
Open this post in threaded view
|

Re: Remove useless websiteid in most applications and specialupurpose webapps (web.xml and data files)

Jacques Le Roux
Administrator
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