Author: jleroux
Date: Thu Sep 26 21:07:10 2013 New Revision: 1526686 URL: http://svn.apache.org/r1526686 Log: Puts a better comment in templates/web.xml Remove 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) Modified: ofbiz/trunk/framework/resources/templates/web.xml ofbiz/trunk/specialpurpose/assetmaint/webapp/ismgr/WEB-INF/web.xml ofbiz/trunk/specialpurpose/example/webapp/example/WEB-INF/web.xml ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/WEB-INF/web.xml ofbiz/trunk/specialpurpose/oagis/webapp/oagis/WEB-INF/web.xml Modified: ofbiz/trunk/framework/resources/templates/web.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/resources/templates/web.xml?rev=1526686&r1=1526685&r2=1526686&view=diff ============================================================================== --- ofbiz/trunk/framework/resources/templates/web.xml (original) +++ ofbiz/trunk/framework/resources/templates/web.xml Thu Sep 26 21:07:10 2013 @@ -7,7 +7,7 @@ <!-- context-param> <param-name>webSiteId</param-name> <param-value>@component-name@Site</param-value> - <description>A unique ID used to look up the WebSite entity</description> + <description>A unique ID used to look up the WebSite entity. Only for component using a WebSite entity, like ecommerce</description> </context-param--> <context-param> <param-name>localDispatcherName</param-name><param-value>@component-name@</param-value> Modified: ofbiz/trunk/specialpurpose/assetmaint/webapp/ismgr/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/assetmaint/webapp/ismgr/WEB-INF/web.xml?rev=1526686&r1=1526685&r2=1526686&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/assetmaint/webapp/ismgr/WEB-INF/web.xml (original) +++ ofbiz/trunk/specialpurpose/assetmaint/webapp/ismgr/WEB-INF/web.xml Thu Sep 26 21:07:10 2013 @@ -24,11 +24,6 @@ <description>Information Systems Management application of the Open For Business Project</description> <context-param> - <param-name>webSiteId</param-name> - <param-value>ISMGR</param-value> - <description>A unique ID used to look up the WebSite entity</description> - </context-param> - <context-param> <param-name>entityDelegatorName</param-name> <param-value>default</param-value> <description>The Name of the Entity Delegator to use, defined in entityengine.xml</description> Modified: ofbiz/trunk/specialpurpose/example/webapp/example/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/example/webapp/example/WEB-INF/web.xml?rev=1526686&r1=1526685&r2=1526686&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/example/webapp/example/WEB-INF/web.xml (original) +++ ofbiz/trunk/specialpurpose/example/webapp/example/WEB-INF/web.xml Thu Sep 26 21:07:10 2013 @@ -24,11 +24,6 @@ under the License. <description>Example Application of the Open For Business Project</description> <context-param> - <param-name>webSiteId</param-name> - <param-value>EXAMPLE</param-value> - <description>A unique ID used to look up the WebSite entity</description> - </context-param> - <context-param> <param-name>localDispatcherName</param-name><param-value>example</param-value> <description>A unique name used to identify/recognize the local dispatcher for the Service Engine</description> </context-param> Modified: ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/WEB-INF/web.xml?rev=1526686&r1=1526685&r2=1526686&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/WEB-INF/web.xml (original) +++ ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/WEB-INF/web.xml Thu Sep 26 21:07:10 2013 @@ -24,11 +24,6 @@ under the License. <description>Facility Handheld Application</description> <context-param> - <param-name>webSiteId</param-name> - <param-value>HHFACILITY</param-value> - <description>A unique ID used to look up the WebSite entity</description> - </context-param> - <context-param> <param-name>localDispatcherName</param-name> <param-value>hhfacility</param-value> <description>A unique name used to identify/recognize the local dispatcher for the Service Engine</description> Modified: ofbiz/trunk/specialpurpose/oagis/webapp/oagis/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/oagis/webapp/oagis/WEB-INF/web.xml?rev=1526686&r1=1526685&r2=1526686&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/oagis/webapp/oagis/WEB-INF/web.xml (original) +++ ofbiz/trunk/specialpurpose/oagis/webapp/oagis/WEB-INF/web.xml Thu Sep 26 21:07:10 2013 @@ -24,11 +24,6 @@ <description>Oagis Implementation component of the Open For Business Project</description> <context-param> - <param-name>webSiteId</param-name> - <param-value>OAGIS</param-value> - <description>A unique ID used to look up the WebSite entity</description> - </context-param> - <context-param> <param-name>entityDelegatorName</param-name> <param-value>default</param-value> <description>The Name of the Entity Delegator to use, defined in entityengine.xml</description> |
Free forum by Nabble | Edit this page |