在统一shell中显示数据(sap.ui.unified.shell)

时间:2017-02-21 08:58:09

标签: javascript sapui5

我是一名实习生,我正在研究sapui5项目,我想将一些数据显示在unifiedshell中,但它总是“没有数据”,我确信我调用数据的代码是正确的,拜托,我需要帮助 有shell.view.xml

<mvc:View
controllerName="opensap.shell.controller.shell.shell"
xmlns:l="sap.ui.layout"
xmlns:u="sap.ui.unified"
xmlns:mvc="sap.ui.core.mvc"
    xmlns:core="sap.ui.core"
xmlns="sap.m"
class="viewPadding">
    <u:Shell
        id="myShell"
        icon="{/logo}">
        <u:headItems>
            <u:ShellHeadItem
                tooltip="Configuration"
                icon="sap-icon://menu2"
                press="handlePressConfiguration" />
            <u:ShellHeadItem
                tooltip="Home"
                icon="sap-icon://home"
                visible="false"
                press="handlePressHome" />
        </u:headItems>
        <u:headEndItems>
            <u:ShellHeadItem
                icon="sap-icon://log"
                tooltip="Logoff"
                press="handleLogoffPress" />
        </u:headEndItems>
        <u:user>
            <u:ShellHeadUserItem
                image="sap-icon://person-placeholder"
                username="Karl Mustermann"
                press="handleUserItemPressed" />
        </u:user>
        <u:search>
            <SearchField
                search="handleSearchPressed"/>
        </u:search>
         <u:paneContent>
              <List id="product" headerText="Products" items="{/ProductSet}">
            <items>
                <StandardListItem
                    title="{ProductID}"

                    />
            </items>
        </List>
            </u:paneContent>


    </u:Shell>

0 个答案:

没有答案