You can modify existing links by using the Edit option from the links pop-up view (Figure 15).
您可以使用Links弹出视图(图15)的Edit选项,来编辑已存在的链接。
Next, add a function to the Student controller called edit , which is where the edit option is pointing.
接下来,向Student控制器添加一个函数,称为edit,这也是edit选项所指向的位置。
Begin by replacing the code that creates the Edit option in the Student controller listing function with the code from listing 21.
首先用清单21中的代码代替用来创建Student控制器的listing函数内的Edit选项的那些代码。
应用推荐