2017-01-11 1 views
-1

스마트 테이블을 사용하고 싶지만 실패했습니다. 404 - 안 :스마트 테이블 SAPUI5

<mvc:View 
    controllerName="com.taspen.acb.modules.Dosir.FileUpload" 
    xmlns:l="sap.ui.layout" 
    xmlns:u="sap.ui.unified" 
    xmlns:mvc="sap.ui.core.mvc" 
    xmlns:core="sap.ui.core" 
    xmlns="sap.m" 
    xmlns:smartTable="sap.ui.comp.smarttable" 
    class="viewPadding"> 
    <l:VerticalLayout> 

       <smartTable:SmartTable entitySet="TableList" 
          smartFilterId="smartFilterBar" tableType="Table" useExportToExcel="true" 
          useVariantManagement="false" useTablePersonalisation="true" header="Line Items" 
          showRowCount="true" persistencyKey="SmartTableAnalytical_Explored" 
          enableAutoBinding="true" />   

    </l:VerticalLayout> 
</mvc:View> 

오류 쇼 : 오류 : XML 코드 아래 자료/SAP/UI/완/smarttable/SmartTable.js에서 'SAP/UI/완/smarttable/SmartTable.js'을로드하지 못했습니다 찾음

sap-ui-core.js 버전 2.3.0을 사용하고 있습니다. 내가 선택 표시 열 테이블을 원하기 때문에 스마트 테이블을 사용하고 싶습니다. (내 컬럼 테이블이 너무 많음).

답변

0

당신은 명시 적으로 index.html 파일에 약하게 라이브러리를 가져와야합니다 당신에게

안부, 바비 감사

<script id="sap-ui-bootstrap" 
    [...] 
    data-sap-ui-libs="sap.m, sap.ui.comp" 
    [...] 
</script>