UI binding render - how to check

简介: Created by Jerry Wang, last modified on May 14, 2015

getExternalValue

bind

binding

getExternalValue

PropertyBinding

getValue

oValue

oType

fnFormatter

formatValue

如果xml view里某个control维护了binding path,但是runtime时field显示为空,则可debug这个js file里的getExternalValue。

所有control最终显示在ui上的value都会通过该方法计算出来。

image.png

line 75:raw value通过this.getValue返回

line77: 如果binding path还显式地由application 定义了formatter,则调用formatter,将line 75的rawValue传入

line 79, 80: 执行formatter

一个formatter的执行例子:

image.png

相关文章
|
JavaScript
vue element-ui [Vue warn]: Invalid prop: custom validator check failed for prop “index“.
vue element-ui [Vue warn]: Invalid prop: custom validator check failed for prop “index“.
264 0
vue element-ui [Vue warn]: Invalid prop: custom validator check failed for prop “index“.
|
JavaScript
element-ui报错[Vue warn]: Invalid prop: custom validator check failed for prop “index“.一个符号解决问题
element-ui报错[Vue warn]: Invalid prop: custom validator check failed for prop “index“.一个符号解决问题
583 0
|
XML JavaScript 数据格式
UI binding render - how to check
Created by Jerry Wang, last modified on May 14, 2015
UI binding render - how to check
|
1月前
|
前端开发 搜索推荐 开发者
SAP UI5 sap.m.Column 控件的 minScreenWidth 属性介绍
SAP UI5 sap.m.Column 控件的 minScreenWidth 属性介绍
29 0
|
1月前
|
JavaScript 前端开发 开发者
SAP UI5 控件 sap.m.ListBase 的 inset 属性的作用介绍
SAP UI5 控件 sap.m.ListBase 的 inset 属性的作用介绍
17 0
|
1月前
|
前端开发 JavaScript API
SAP UI5 sap.ui.require.toUrl 的作用介绍
SAP UI5 sap.ui.require.toUrl 的作用介绍
31 0
|
1月前
|
JSON 前端开发 测试技术
SAP UI5 sap.ui.core.util.MockServer.simulate 方法介绍
SAP UI5 sap.ui.core.util.MockServer.simulate 方法介绍
21 0
|
1月前
使用 SAP UI5 Event Bus 机制,修复 SAP UI5 分页显示数据的一个 bug 试读版
使用 SAP UI5 Event Bus 机制,修复 SAP UI5 分页显示数据的一个 bug 试读版
20 0
|
3月前
|
缓存 JavaScript 前端开发
如何理解 SAP UI5 的 sap.ui.define 函数?
如何理解 SAP UI5 的 sap.ui.define 函数?
50 0

热门文章

最新文章