0
未捕獲的異常的功能:未捕獲的類型錯誤:win.doc.getCSSCanvasContext不在(compiled_code)馬克西莫Anywhere的未捕獲的異常:未捕獲的類型錯誤:win.doc.getCSSCanvasContext不在(compiled_code)
未捕獲的類型錯誤的函數: win.doc.getCSSCanvasContext不是函數
在向列表控件添加文本控件或按鈕控件後,我得到上述異常。這裏是我的代碼請建議。
<list collapsible="true" hideEmpty="true" id="WorkExecution.TaskDetailView_totalWOAssetMeters_list" label="Inspection Components" resource="totalWOAssetMeters" showHeader="true">
<listItemTemplate cssClass=".mblListItem" id="WorkExecution.TaskDetailView_totalWOAssetMeters_listItemTemplate_MeterList" layout="InspMeterList">
<listtext id="WorkExecution.TaskDetailView_totalWOAssetMeters_MeterList_metername" layoutInsertAt="item1" resourceAttribute="metername"/>
<listtext id="WorkExecution.TaskDetailView_totalWOAssetMeters_MeterList_meterdesc" layoutInsertAt="item2" resourceAttribute="meterdesc"/>
**<button label="Test" id="WorkExecution.TaskDetailView_totalWOAssetMeters_MeterList_more" layoutInsertAt="button1" />**
<eventHandlers id="WorkExecution.TaskDetailView_totalWOAssetMeters_listItemTemplate_MeterList_eventHandlers">
<eventHandler class="application.handlers.MetersListHandler" event="click" id="WorkExecution.TaskDetailView_totalWOAssetMeters_listItemTemplate_MeterList_eventHandlers_click_setAssetResource" method="setAssetResource"/>
</eventHandlers>
</listItemTemplate>
<eventHandlers id="WorkExecution.TaskDetailView_totalWOAssetMeters_list_eventHandlers">
<eventHandler class="application.com.Inspection.handlers.InspectionMetersListHandler" event="render" id="WorkExecution.TaskDetailView_totalWOAssetMeters_list_eventHandlers_render_hideOrShowAssetMeters" method="hideOrShowAssetMeters"/>
</eventHandlers>
</list>