Improved: List and Grid (OFBIZ-11345)#427
Conversation
According to the definition in widget-form.xsd the use of a combination of a form with type="list" is deprecated in favour of a grid. Refactor various list forms into grids. Refactor various list form references in screens. Modified: ProductScreens.xml in product: from form ref to grid ref , additional cleanup ProductForms.xml: from form definition with list ref to grid definition with list ref, additional clean-up
|
Kudos, SonarCloud Quality Gate passed!
|
|
Hi Pierre, ListSupplierProductAgreements, ListSalesAgreements, ListProductAgreements, UpdateProductCategoryMember, UpdateProductConfig, ListProductFixedAssets, ListProductRoutings, "you name it" grids don't exist. Maybe you miss a file? |
|
Hi Jacques, Thanks for the review and the feedback. I will have a look. |
|
ListSalesAgreements appears in both ProductScreens.xml and ProductForms.xml. Changes appear in both, see https://github.com/apache/ofbiz-framework/pull/427/files Maybe you need to expand the diff (via the url provided) to see the changes in ProductForms.xml |
|
Right Pierre, What about ListProductTag? |
|
ListProductTag is not a form of type="list" but rather of type="multi" and therefor not converted to a grid. Just a minor cleanup happened there. |
|
Yes I know, paginate-target="EditProductTag" was wrong, right? |
|
It is a valid request. So it appear appropriate for a paginate-target. As you can see in the change the clean-up is about remove of the title tag and bringing the paginate-target from the 2nd line to the 1st. |








According to the definition in widget-form.xsd the use of a combination of a form with type="list" is deprecated in favour of a grid.
Refactor various list forms into grids.
Refactor various list form references in screens.
Modified:
ProductScreens.xml in product: from form ref to grid ref , additional cleanup
ProductForms.xml: from form definition with list ref to grid definition with list ref, additional clean-up