迁移工具对指定属性的方式作了显著的更改。以下是这些更改的总结:
迁移之前 | 迁移之后 |
---|---|
action | actionFunction |
boolean | isBoolean |
getOptions | getOptionsRecord |
msgDescriptor | msgDescriptorRecord |
onPageLoad | onPageLoadFunction |
openOptions | openOptionsRecord |
putOptions | putOptionsRecord |
queueDescriptor | queueDescriptorRecord |
range | validValues |
rangeMsgKey | validValuesMsgKey |
selectFromList | selectFromListItem |
sqlVar | sqlVariableLen |
validator | validatorFunction |
validatorMsgKey | validatorFunctionMsgKey |
validatorTable | validatorDataTable |
validatorTableMsgKey | validatorDataTableMsgKey |
{ alias = prog }
{ alias = "prog" }
下列属性会受影响:
{ keyItems = var, screenSizes = (24, 80), range = (1, 9) }
{ keyItems = ["var"], screenSizes = [[24, 80]], range = [[1, 9]] }
Form myForm type TextForm fieldArray char(10)[5] { fieldArray[1] {color = red } }; end
Form myForm type TextForm fieldArray char(10)[5] { this[1] {color = red } }; end
{ keyItems = (item1, item2) }
{ keyItems = ["item1", "item2"] }
{ isReadOnly }
{ isReadOnly = yes}
迁移之前 | 迁移之后 |
---|---|
{ currency = yes } | { currency = yes } |
{ currency = no } | { currency = no } |
{ currency = "usd" } | { currency = yes, currencySymbol = "usd" } |
迁移之前:
color = red outline = box
color = ColorKind.red outline = OutlineKind.box
迁移之前 | 迁移之后 |
---|---|
{ tableNames = (table1, table2) } | { tableNames = [["table1"], ["table2"]] } |
{ tableNames = (table1 t1, table2) } | { tableNames = [["table1", "t1"], ["table2"]] } |
{ tableNames = (table1 t1, table2 t2) } | { tableNames = [["table1", "t1"], ["table2", "t2"]] } |
{ defaultSelectCondition = #sql{ hostVar02 = 4 } }
{ defaultSelectCondition = #sqlCondition{ // no space between #sqlCondition and the brace hostVar02 = 4 } }