但是,iUI不会将toggle开关与表单控件绑定在一起,因此在这里引入 rails_iui。
What iUI doesn't do, however, is tie the toggle switch to a form control, so rails_iui steps in here.
既然我们已创建了我们的第一个JSF表单,我们就将需要把控件绑定到页面数据。
Now that we have created our first JSF form, we need to bind the controls to page data.
表单被绑定到指定的数据库表,其中的所有数据控件都可以用于显示和编辑表的列,无需编写代码或SQL。
A form is bound to a specified database table and all data controls within can be used to display and edit the table's columns without writing code or SQL.
要定义数据,可以选择将XPages控件绑定到表单中的字段。
To define data, you can choose to bind XPages controls to fields on forms.
因为表单可以将Schematron文档本身作为实例数据使用,所以可以将控件绑定到Schematron文档中的节点。
Since the Schematron document itself is made available to the form as instance data, you're free to bind controls to nodes in the Schematron document.
因为表单可以将Schematron文档本身作为实例数据使用,所以可以将控件绑定到Schematron文档中的节点。
Since the Schematron document itself is made available to the form as instance data, you're free to bind controls to nodes in the Schematron document.
应用推荐