Now all you have to do is create a TLD (tag Library Descriptor) file to register your custom tag, as shown in Listing 4.
现在要做的全部工作就是创建一个TLD(标记库描述符)文件,以登记定制标记,如清单4所示。
To keep your tag during migration, you have to modify your dynamic template slightly. There are two ways to do this.
为了在迁移过程中保存您的标签,您要稍微对您的动态模板进行修改。
Your handler generally needs to accumulate text until the end tag is reported, and then do something with the text.
处理程序一般在报告结束标记之前,需要做累积文本的工作,随后对文本做某些操作。
If you need to do that much work, you probably should be using a CPAN MP3 ID3 tag module instead of parsing filenames.
如果您需要做大量工作,那么或许该使用CPANMP 3ID 3标记模块,而不是解析文件名。
I've got several emails with a "to be answered in a post" tag that all ask this question - "How do I find the motivation to work at home when I just don't feel like it?"
我收到了好几封带有“在后回答”(这个怎么翻译?)附加语的电子邮件,全部问我这个问题:当我不想喜欢在家工作时,我怎样找到动力?
By default, the tag name matches the name of the JSP that you created, but the two do not have to be same.
默认情况下,这个标签名称与您创建的JSP名称是相匹配的,但是这两者不完全一样。
If you absolutely need a tag to be rendered in a precise way, do not count on the browser's default behavior; specify your needs in CSS.
如果你一定要让标签按照精确地方式显示,别指望浏览器的缺省行为;把你的需求在CSS中指定。
Task tags allow the team to define specific types of tag-related tasks that they know will be seen by other developers, even if they do not look at the specific code that contains the task.
任务标记允许团队定义与标记相关的特定类型的任务,这些任务会被其他开发人员看到,即使不查看包含任务的具体代码。
This extension will do nothing more than look for any keywords defined for this class, and use them to add a new documentation tag associated with the class in the source code.
本扩展仅仅搜寻为该类定义的关键字,然后使用它们,来添加与源代码中的类相关的新记录标签。
If for some reason, you do not want to expose the unid in the URL, you must supply it somehow to the document tag explicitly in the unid attribute.
如果由于某些原因,您不想在URL中暴露这个unid,那么就必须在unid属性中明确地说明文档标签。
MxTextTools traverses a source text quickly, but it does not do anything to the source text itself (at least not when using the SimpleParse grammars). Let's look at an abridged tag list.
mxTextTools快速遍历源文本,但是它不对源文本本身做任何操作(至少当使用simpleparse语法时不进行任何操作)。
Elements that do not have an empty content model, but happen to be empty, never use the empty tag abbreviation (rather than).
没有空内容模型但正好为空的元素从不使用空标记缩写(而不是)。
We can use the Tasks view as your own or a project-based to-do list, which allows you to tag code with items like ToDo, FixMe, Optimize, etc.
可以使用Tasks视图作为您自己或者基于项目的to - do列表,这将允许您用诸如ToDo、FixMe、Optimize之类的条目标记代码。
To do this, we need to take a peek at the portlet tag library provided by WebSphere portal.
要这样做,我们需要研究一下WebSphere portal提供的portlet标记库。
For example, if you are developing a widget that needs to add a stylesheet inside the tag of the page, it's simple to do so.
比如说,你想开发一个widget,需要将样式表放在head标签内,这很容易做到。
Next, you add a tag per type that you want to handle, as I do in Listing 15.
然后,为您想处理的每个类型添加一个标记,如清单15所示。
To run the Flex application in a browser, all you need to do is embed an object tag to an HTML page.
要在浏览器中运行Flex应用程序,只需将一个object标记嵌入到HTML页面中。
As for the rest, the clash between Ivory Coast and Portugal on June 15 will do much to decide the outcome, since Brazil looks in fine enough fettle to merit the favorite tag.
对余下的球队而言,6月15日科特迪瓦与葡萄牙的交锋将很大程度上决定结果,因为巴西的状态看上去足以获得想要的成绩。
The add method just adds the to-do item to the table, then returns new contents for the results tag.
add方法把to - do项添加到表中,然后为得到的标记返回新的内容。
On a Mac, iPhoto is great: you can tag, categorize and do all of these awesome things to sort out your photos.
对于苹果机,iPhoto是极好的:你能通过贴标签、分类别和其他类似的事情,把照片分门别类。
on specific/critical environments (production, staging, testing, etc), checkout and update from a fixed tag, but do never commit to a tag
(staging)、测试环境(testing)等等,只 能从一个修复过的(fixed)tag中checkout和update,永远不要commit至一个tag。
But we try to incent commenters to jump in here with little tag-questions at the end of a post, so what do you think?
但是,咱们来鼓励(incent)一下评论者们在本帖子后面提一些附加疑问句,你觉得用哪一个好?
The tag is like an extensibility mechanism that allows applications running inside servlet containers to do processing in conjunction with certain events.
标记就像一种可扩展性机制,允许在servlet容器内部运行的应用程序协同某些事件进行处理。
Luckily, you can extend any other existing component to make a new component. All you have to do is use the tag to define a new class, like so.
幸运的是,您可以扩展任何其他已有的组件,建立一个新的组件。
Now let's refactor the test to use a general purpose mocking framework. We do this by adding a single script tag to the test page and rewriting the test like this.
现在让我们重构测试,使用一种通用的mocking框架。
Now let's refactor the test to use a general purpose mocking framework. We do this by adding a single script tag to the test page and rewriting the test like this.
现在让我们重构测试,使用一种通用的mocking框架。
应用推荐