Listing 8 updates Listing 3 and adds edit and delete links to each event.
清单8在清单3的基础上增加了事件的编辑和删除链接。
Before running the script, you need to edit following lines in its header, as shown in Listing 6.
在运行脚本之前,需要编辑脚本文件头部的以下几行,如清单6所示。
Start by creating a form that includes the ability to edit a report's title and body (see Listing 1).
首先创建一个表单,要求能够在其中编辑报告的标题和主体(见清单1)。
The current version of Blogapps doesn't support editing a media resource (as it's generally configured) but the process is similar to Listing 15, which shows how to edit an entry.
当前版本的博客应用程序并不支持编辑媒体资源(通常的配置也是如此),不过其过程类似于清单15,其中显示了如何编辑条目。
For example, trying to edit a remote file with an editor using this method and techniques shown above usually fail (see Listing 6).
例如,使用上面介绍的这种方法和技术,尝试使用某种编辑器来编辑一个远程文件,通常都会失败(请参见清单6)。
The token must be attached with the edit request, as in Listing 9.
令牌必须附加到编辑请求,如 清单 9 所示。
Another option is to edit the file as shown in Listing 5.
另一个选项是编辑文件,如清单5所示。
Edit this extension to appear as shown in listing 1.
编辑此扩展,如清单1所示。
For that you need to edit the web.xml file for the application, as shown in Listing 4.
为了达到这个目的,我们需要编辑应用的web . xml文件,如清单4所示。
First, edit the AdminIndexSuccess template, and attach sorting links to each table heading, as in Listing 1.
首先,编辑adminindexsuccess模板,并向每个表的标题添加排序链接,如清单1所示。
For example, get Eclipse (see Resources), open a new project, copy and paste the code from Listing 1 into a new document, edit, and you are well on your way to a structured resume data file.
例如,获取Eclipse(参见参考资料),打开一个新项目,将清单1中的代码复制并粘贴到一个新文档中,编辑,您将很快创建一个结构化简历数据文件。
Open the build.xml file and edit it as Listing 6 shows to add the last target.
打开这个build . xml文件并对它进行编辑,如图6所示的那样来添加最后的目标。
If you want to modify Listing 2 to adapt to your site layout, you can edit the contents of the XSL: template element.
如果您希望修改清单2以便适应您的站点布局,可以编辑xsl:template元素的内容。
Once you create the plug-in project, edit the ShiroWebXmlPlugin.groovy file, and add the code shown in Listing 7.
创建了这个插件项目后,编辑 ShiroWebXmlPlugin.groovy文件,并添加如 清单 7 所示的代码。
For example, Listing 2 shows the help for the edit (Ed) command.
比如,清单2显示了编辑(ed)命令的帮助。
Next, edit the AdminIndexAction validator to support these two parameters (Listing 2).
其次,编辑adminindexaction验证器以支持这两个参数(清单2)。
If you prefer to edit XML code directly, Listing 2 shows the complete plugin.xml file for the hsqldb.ui.
如果您情愿直接编辑xml代码,清单2显示了hsqldb . ui插件的完整plugin . xml文件。
The AdminIndexAction is the simplest of the bunch, because it only displays a list of all the records in the listing table and offers choices to edit and delete each one.
AdminIndexAction是三个操作中最简单的一个,因为它只是在清单表中显示所有记录的列表,并提供编辑和删除每条记录的选择。
Scroll to Edit action design and enter the code shown in listing 6.
滚动到Editactiondesign并输入清单6所示的代码。
Now, try to edit the values in the configuration file (Listing 1) such that it looks like Listing 5.
现在修改配置文件(清单1)中的值,如清单5所示。
Now, edit the $destdir variable you see in Listing 4, then run the Listing 4 script. This script does three things
现在编辑清单4中看到的 $destdir变量,然后运行清单 4脚本。
So, I let the editor define interfaces for a model that it can edit. Then the actual model implementation implemented the interface in Listing 3.
因此,让编辑器为可以编辑的模型定义接口。
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选项的那些代码。
Then create an HTML form named student_edit.php to display and edit this student record, as shown in Listing 18.
然后,创建一个名为student _ edit . php的HTML表单来显示和编辑此学生记录,如清单18所示。
Listing 4: user_profile_edit.jsp displays the user data for user to edit.
清单4:user_profile_edit . jsp显示了供用户编辑的用户数据。
As an extra little feature, you can outfit each row in the directory listing with a compass icon that sits next to the edit icon.
作为一个额外的小特性,您还可以将编辑图标旁边的罗盘图标装备在目录中的每行。
Edit the class as shown in the following listing (add the highlighted values) and Save the file.
编辑如下所列的类(添加高亮显示的值),并保存文件。
Edit the method, see Listing 8.
对该方法进行编辑,请参见清单8。
Listing 3 shows the code snippet for testing whether the portlet is navigated to Edit mode.
清单3显示了一个代码片段,用于测试是否将portlet导航到Edit模式。
Listing 5. The Settings tag in the edit mode.
清单5.edit模式中的settings标记。
应用推荐