但是,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.
应用推荐