本文介绍了Maximo Anywhere未捕获的异常:未捕获的TypeError:win.doc.getCSSCanvasContext不是(compiled_code)的函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
未捕获的异常:未捕获的TypeError:win.doc.getCSSCanvasContext不是(compiled_code)处的函数
Uncaught Exception: Uncaught TypeError: win.doc.getCSSCanvasContext is not a function at (compiled_code)
未捕获的TypeError:win.doc.getCSSCanvasContext不是函数
Uncaught TypeError: win.doc.getCSSCanvasContext is not a function
将文本控件或按钮控件添加到列表控件后,出现上述异常.这是我的代码,请提出建议.
I get above exception after adding a text control or button control to the list control. Here is my code please suggest.
<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>
推荐答案
这是最新版本的Chrome和Anywhere的已知错误.请打开PMR,我们可以向您发送iFix
This is a known bug with the latest version of Chrome and Anywhere. Please open a PMR and we can sent you an iFix
这篇关于Maximo Anywhere未捕获的异常:未捕获的TypeError:win.doc.getCSSCanvasContext不是(compiled_code)的函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!