SAPwebIDE MD/MMD templates unpleasant differences:
I'm trying to add bound List/Table to the Detail view using SAPwebIDE MD (Master/Detail) and MMD (Master/Master/Detail) templates.
The problem is: the same list with the same bindContextPath works OK in Detail.view.xml with MD template and works strange and freeze (well does not work) in Detail.view.xml with MMD template.
I've re-created the problem with Northwind Odata channel:
MD: Product -> Order_Details (Path for List/Table)
MMD: Category -> Product -> Order_Details (Path for List/Table)
Both apps are in attachment (zipped folders you can import in SAPwebIDE:
md_northwind_test_table.zip https://dl.dropboxusercontent.com/u/969122/sapwebide/md_northwind_test_table.zip
mmd_northwind_test_table.zip https://dl.dropboxusercontent.com/u/969122/sapwebide/mmd_northwind_test_table.zip
).
How to re-create this "apps" from scratch in SAPwebIDE:
MD:
File/New/Project From Templates:
Master/Detail template, NorthWind as Odata service:
Set MasterSection/Odata Collection: Products.
MMD:
File/New/Project From Templates:
Master/Master/Detail template, NorthWind as Odata service
Set Master 1 Section/Odata Collection: Categories
Set Master 2 Section/Odata Collection: Products
Then add this xml-code of Bound List into the Detail.view.xml under the Page/content/IconTabBar/items/IconTabFilter/content
Items' path: Order_Details:
<List xmlns="sap.m" id="idList" inset="false" visible="true" headerText="" headerDesign="Standard" footerText="" mode="None" width="100%" includeItemInSelection="false" showUnread="false" noDataText="" showNoData="true" enableBusyIndicator="true" modeAnimationOn="true" showSeparators="All" swipeDirection="Both" growing="false" growingThreshold="20" growingTriggerText="" growingScrollToLoad="false" rememberSelections="true" backgroundDesign="Solid" itemPress="" items="{path:'Order_Details'}" > <items> <ColumnListItem type="Navigation" counter="0"> <cells> <Text text="{OrderID}"/> <ObjectIdentifier title="{ProductID}" text="{UnitPrice}"> </ObjectIdentifier> </cells> </ColumnListItem> </items> <columns> <Column minScreenWidth="tablet"> <header> <Text text="OrderID" maxLines="0"/> </header> </Column> <Column minScreenWidth="tablet"> <header> <Text text="ProductID / UnitPrice" maxLines="0"/> </header> </Column> </columns></List>
And it works as expected with MD template:
Master (Products) / Detail (Order_Details List):
And does not work with MMD:
Master 1 (Categories):
Master 2 (Products) / Detail (Order_Details List):
I've tried to debug this, but it looks like i'm missing something, it continuously requesting the same data and does not showing it.
Any suggestions? What is wrong with template and binding?
Best regards, ilia.