Author: jleroux
Date: Sun Nov 27 09:46:28 2011 New Revision: 1206693 URL: http://svn.apache.org/viewvc?rev=1206693&view=rev Log: A patch from Kiran Gawde "redundant LookupContactList in product app" https://issues.apache.org/jira/browse/OFBIZ-4574 Following lines from product\controller.xml are redundant. They are present in partymgr. <request-map uri="LookupContactList"><security https="true" auth="true"/><response name="success" type="view" value="LookupContactList"/></request-map> <view-map name="LookupContactList" type="screen" page="component://party/widget/partymgr/PartyContactListScreens.xml#ListLookupContactList"/> jleroux: indeed, I don't see any use at all of LookupContactList in product component (only in Marketing and Product). On the other hand, since there are not the same in Marketing and Product it could be seen as ambiguous, and then if someone needs it in catalog it will have to make the choice, maybe the reason it's there? Modified: ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/controller.xml Modified: ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/controller.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/controller.xml?rev=1206693&r1=1206692&r2=1206693&view=diff ============================================================================== --- ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/controller.xml (original) +++ ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/controller.xml Sun Nov 27 09:46:28 2011 @@ -2939,7 +2939,6 @@ under the License. <request-map uri="LookupDataResource"><security auth="true" https="true"/><response name="success" type="view" value="LookupDataResource"/></request-map> <request-map uri="LookupPerson"><security auth="true" https="true"/><response name="success" type="view" value="LookupPerson"/></request-map> <request-map uri="LookupPreferredContactMech"><security https="true" auth="true"/><response name="success" type="view" value="LookupPreferredContactMech"/></request-map> - <request-map uri="LookupContactList"><security https="true" auth="true"/><response name="success" type="view" value="LookupContactList"/></request-map> <!-- ================ Vendor Product Requests ================= --> <request-map uri="EditVendorProduct"> @@ -3203,8 +3202,7 @@ under the License. <view-map name="LookupDataResource" page="component://content/widget/content/DataResourceScreens.xml#LookupDataResource" type="screen"/> <view-map name="LookupPerson" page="component://party/widget/partymgr/LookupScreens.xml#LookupPerson" type="screen"/> <view-map name="LookupPreferredContactMech" type="screen" page="component://marketing/widget/ContactListScreens.xml#LookupPreferredContactMech"/> - <view-map name="LookupContactList" type="screen" page="component://party/widget/partymgr/PartyContactListScreens.xml#ListLookupContactList"/> - + <!-- Image Management request mappings --> <view-map name="Imagemanagement" type="screen" page="component://product/widget/catalog/ImageManagementScreens.xml#Imagemanagement"/> <view-map name="ImageGallery" page="component://product/widget/catalog/ImageManagementScreens.xml#ImageGallery" type="screen"/> |
Free forum by Nabble | Edit this page |