Your first venture into CRUD operations is to show the details of a single course selected from the course listing.
遇到的第一项 CRUD 操作是显示从课程列表中选出的单门课程的详细内容。
The code in Listing 13 is logically equivalent to the XML configuration in Listing 6 and Listing 9, though of course Listing 13 USES Groovy code to define the beans.
清单13中的代码在逻辑上等同于清单6和清单9中的XML配置。当然,清单13是使用Groovy代码来定义bean。
Now that you have a clean way to retrieve the list of courses and maintain that data in a context variable managed by Seam, it is time to branch off from the course listing.
既然已经清楚检索课程列表以及在seam托管的上下文变量中维护该值的方法,下面研究课程列表以外的内容。
Listing 1 is a sample learning overview topic from the pilot course.
清单1是来自示范课程的示例学习概述主题。
Now try with the nameserver running on one machine and the application in Listing 2 running on another, using the same command line (though with the URL adjusted again, of course).
现在试着在一台计算机上运行命名服务器,用同一个命令行(当然,对 URL 再次做了调整)在另一台计算机上运行清单 2 中的应用程序。
Of course, nobody is likely to write code like Listing 2.
当然,可能没有人会编写类似清单2这样的代码。
The crashes shown in listing 5 were seen during the course of programming.
清单5所示的系统崩溃将出现在编程过程中。
When viewed from an HTML browser, of course, Listing 9 is a table of tree names.
如果从HTML浏览器中查看,清单9当然就是一个包含树名的表。
Of course, we have to take this study with a grain of salt. No doubt the researchers were simply listing some of the contributing factors to what they see as a disturbing uptick in rickets diagnoses.
当然,我们还得辩证的看待这一研究结果,因为那些研究者们只是将一些可能导致软骨病发病率上升的因素列出来罢了。
Of course, the problem with Listing 1 is that, in order to change parsers, you have to change the implementation class.
当然,清单1中存在的问题是,为了更改语法分析器,必须更改实现类。
In Listing 8, the URL for the external entity reference is different, and of course that can cause problems.
在清单8中,外部实体引用的URL是不同的,当然,这会引起问题。
Of course, to make the execution trace useful, I'll need to expand on the minimal information output by the Listing 1 methods.
当然,要使执行踪迹有用,需要对清单1的方法给出的最小信息输出进行扩展。
Of course, being so flexible means that I must write at least two test cases for removing a word, as shown in Listing 10.
当然,这种灵活意味着我必须为删除单词编写至少两个测试用例,如清单10所示。
When you execute the code in Listing 2, the result is a dump of the complete XML file, in an array, of course.
执行 清单 2 的代码后,结果是转储整个 XML 文件,当然是在一个数组中。
For example, we might use a simple "thumbs up or down" rating system over the following qualifying dimensions (of course a more granular, enumerated rating system can be used) in Listing 2.
例如,我们可能会在下面的清单2鉴定维度之上使用一个简单的“好的或差的”评级系统(当然可以使用更粒化的列举的评级系统)。
To enable this function, you wrap the name of each course in a h:commandLink that designates the method binding #{courseAction. selectCourse} as the action, as shown in Listing 9.
要实现这项功能, 在 h:commandLink 中包装各个课程的名称,h:commandLink 将方法绑定 #{courseAction.selectCourse} 指派成操作, 如清单 9 所示。
Listing 3 is a portion of the DITA map for "Module 2 — Using Query Monitor" of the pilot course.
清单3是示范课程中“模块2——使用Query Monitor”的主题映射的一部分。
Of course, Scala supports currying, as illustrated by the snippet from the Scala documentation shown in Listing 8
当然,Scala 支持局部套用,如清单 8 展示的 Scala 文档的部分片段所示
The element is a sibling of, so I jump out of the closure, declare a friends object and, of course, attach a closure that contains a collection of friend elements, as shown in Listing 2.
元素是的兄弟元素,于是我跳出这个闭包,声明了一个friends对象,当然,还附加了一个集合了多个friend元素的闭包,如清单2所示。
Of course, wits.xml is the name of the file containing all the incident reports, of which a snippet was shown in Listing 1.
当然,wits . xml是包含所有事件报告的文件的名称,清单1中显示了它的一个片段。
Of course, you could use this returned Node as the context for a new XPath expression, as shown in Listing 12.
当然也可将返回的这个Node作为新xpath表达式的上下文,如清单12所示。
Of course, the band is still hammering away at that track listing, but here's a guide to several of the songs likely to end up on the album.
当然,现在乐队还在钻研歌曲列表的安排,下面的指南描述了一些可能最终出现在专辑中的歌曲。
Of course, a list is no use without any children; they are added as further elements to the same list (see Listing 7).
当然,没有子元素的列表是毫无用处的;可以将子元素添加到这一列表的最后面,如清单 7 所示。
Of course, the listing price is always negotiable as well.
当然,房屋售价永远是可以议价谈判的。
Of course, listing a bunch of directory entries doesn't do you much good -except to see what's in the filesystem.
当然,列出一大串目录项对您并没有太大的好处——除了看看文件系统中的内容。
When you are listing your bullet points beneath each job title, really focus on what that recruiting director wants to see (without lying, of course).
在列举曾做过的工作时,一定要将焦点放在招聘负责人希望看到的内容上(当然,不要撒谎)。
Running the new report should result in the output found in Listing 3. Of course, Numbers will vary.
运行新的报告应当生成如图3所示的输出,数字会有变化。
Of course, well-practiced programmers already know you can achieve this functionality with static constants, as shown in Listing 1.
当然,熟练的程序员可以用静态常量实现这项功能,如清单1所示。
Of course, we could once again extend this class in the other project but then we should also modify reference to this class in web.xml file, as seen in listing 5.
当然,我们可以在其他项目中再一次继承该类,但接着还要修改web . xml中对该类的引用,如清单5所示。