前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >SAP CRM Fiori reuse library的代码审查

SAP CRM Fiori reuse library的代码审查

作者头像
Jerry Wang
发布2021-02-22 14:25:26
2890
发布2021-02-22 14:25:26
举报

Opaque comment

Since you have defined attribute “displayMode” as type Boolean, so it can be assigned with true of false.

Then your comment is opaque. What does “’has value” mean? True or false?

Code robustness

More information about id uniqueness

Further study: http://help.sap.com/saphelp_uiaddon10/helpdata/en/56/2803c6f55c49608d01a453cc0590ab/frameset.htm if we are in ui component context, we do not need to concatenate id prefix and id body manually, as suggested by sap help above: Create all views, controls, and elements in a UI component by using the this.createId() method and retrieve them by using the this.byId() method.

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2019-09-12 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • Opaque comment
  • Code robustness
  • More information about id uniqueness
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档