- SAP CRM WebClient UI表格编辑模式的调试明细
- CRM和C4C里的组织架构 - Organizational S
- 如何在CRM WebClient UI里使用HANA Live
- SAP CRM WebClient UI和Hybris Comm
- SAP CRM WebClient UI Text 可编辑与否的
- 将SAP CRM WebClient UI的表格导出成PDF
- SAP CRM WebClient UI Context nod
- SAP CRM WebClient UI 培训教程
- SAP CRM WebClient UI和ABAP Webdyn
- SAP CRM WebClient UI和Hybris Comm
如果我们写了EDITMODE = NONE, 那么toolbar不出现是expected的behavior
详见debug:





发现conversation history 里面的table cell可以编辑,这显示不make sense。同事在试图把这些table cell设成readonly的时候发现一些问题,总结如下:
(1) 如果BSP html里面加上EDITMODE = “NONE”, 则toolbar不会出来。开始同事认为这是framework的问题,但是通过下面的debug发现别人就是这么设计的:framework在看到EDITMODE = “NONE”之后,就会把当前table设成readonly状态,同时disable toolbar,因为framework认为toolbar可能会造成table状态的改变,所以disable toolbar;
(2) 如果把usage 改成SEARCHRESULT,则能起到让table cell readonly的效果:

(3) 目前的做法是在SMCCOMMENT attribute的getter里面强制设成read only,个人觉得这个方法不如2. ( 2是从framework级别实现readonly功能,3是developer需要自己写code)
(4) 如果BSP render出来的结果和自己期望的不一致,通过debug BSP render的code一般都能找到原因。
要获取更多Jerry的原创文章,请关注公众号"汪子熙":

网友评论