且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在视图对象-ADF中将瞬态值作为默认值分配给另一个属性

更新时间:2021-10-01 22:25:18

您正尝试在向表右侧输入数据时向某个字段添加默认值.

Youre trying something like adding a default value to a certain field when entering data to your table right.

为此,您不需要更改SQL语句,只需将默认值添加到必填字段的 placeHolder (位于该字段的属性标签中)>

For that you don't need to change the SQL statement, all you have to do is adding the default value to the required field's placeHolder (located in the properties tab of that field)

placeholder="Default Value"

将更改提交到数据库后,将为该字段提交默认值.

When you commit the changes to the Data Base, for that field the default value will be commited.