A patch from Eric De Maulde "Product Categories page without category name" (https://issues.apache.org/jira/browse/OFBIZ-3826) - OFBIZ-3826

Into the form UpdateProductCategoryMemeber (Product Categories page) categoryId appears twice if category description is empty, but category name is more significant and always full.
Also the form name has an error.

Into UpdateProductCategoryMemeber form, this patch changes category description to category name. It corrects the form name to UpdateProductCategoryMember


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@956201 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jacques Le Roux
2010-06-19 09:10:33 +00:00
parent 0f7d2f9462
commit 9152e67d2e
2 changed files with 3 additions and 3 deletions
@@ -493,12 +493,12 @@ under the License.
<field name="comments" ><textarea/></field>
<field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field>
</form>
<form name="UpdateProductCategoryMemeber" type="list" target="updateProductToCategory" title="" list-name="productCategoryMembers"
<form name="UpdateProductCategoryMember" type="list" target="updateProductToCategory" title="" list-name="productCategoryMembers"
odd-row-style="alternate-row" default-table-style="basic-table">
<auto-fields-service service-name="updateProductToCategory"/>
<field name="productId"><hidden/></field>
<field name="productCategoryId" title="${uiLabelMap.ProductCategory_Id}">
<display-entity entity-name="ProductCategory" also-hidden="true" description="${description}">
<display-entity entity-name="ProductCategory" also-hidden="true" description="${categoryName}">
<sub-hyperlink target="EditCategory" description="${productCategoryId}" link-style="buttontext"><parameter param-name="productCategoryId"/></sub-hyperlink>
</display-entity>
</field>
@@ -181,7 +181,7 @@ under the License.
<decorator-screen name="CommonProductDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<screenlet title="${uiLabelMap.PageTitleEditProductCategories}">
<include-form name="UpdateProductCategoryMemeber" location="component://product/widget/catalog/ProductForms.xml"/>
<include-form name="UpdateProductCategoryMember" location="component://product/widget/catalog/ProductForms.xml"/>
</screenlet>
<screenlet title="${uiLabelMap.PageTitleAddProductCategories}">
<include-form name="AddProductCategoryMember" location="component://product/widget/catalog/ProductForms.xml"/>