• With all the prep work behind us, we're ready to use our custom tag within a JSP page.

    我们完成了所有这些准备工作后,我们就可以在JSP 页面中使用我们的自定义标记了。

    youdao

  • All business logic should be in classes, and if you absolutely had to have code in your JSP page, you would wrap it up in a custom tag.

    所有的商业逻辑都应该在类中,如果你确实需要在你的JSP页面中包含代码,你应该用自定义标签来包装它。

    youdao

  • So the example usage of this custom tag passes validation.

    因此这个自定义标记的示例用法通过了验证。

    youdao

  • In that case, you want to design a custom tag that supports all these table types.

    在这种情况下,就需要设计一个支持所有这些表格类型的自定义标记。

    youdao

  • Create a new partial template and a new custom tag to speed things along.

    创建一个新的局部模板和一个新的定制标记,以加快进程。

    youdao

  • Listing 1 shows what the handler of the custom tag should look like.

    清单1展示了定制标记的处理函数是什么样的。

    youdao

  • For example, if you want to change the HTML produced by a JSF component, you normally have to recode the component's renderer and implement a new custom tag.

    例如,如果想要更改JS f组件生成的HTML,通常情况下需要对组件的呈现程序进行重新编码,并实现一个新的定制标记。

    youdao

  • The custom tag has two methods that return the component type and the renderer type.

    定制标记有两个方法,分别返回组件类型和渲染器类型。

    youdao

  • The issue was caused by a custom tag engine, that kept large object lists in memory.

    问题是由自定义标签引擎引起的,它会在内存中存放大型对象列表。

    youdao

  • The JSP container evaluates each custom tag during the execution of a JSP page that references it.

    在执行引用自定义标记的jsp页面时,jsp容器判断每一个自定义标记。

    youdao

  • When the container encounters a tag, it invokes the tag handler class associated with the custom tag, which is a process we'll talk more about later.

    当容器遇到一个标记时,它调用与这个自定义标记相关联的标记处理程序,我们将在后面更多地讨论这个过程。

    youdao

  • JSP pages, however, with their mix of code and custom tag libraries, cannot function well in this environment.

    然而,由于jsp页面将代码和自定义标记库相混合,因此无法在这种环境下良好地工作。

    youdao

  • It finds what it needs to know about a custom tag by reading metadata about the tag.

    它通过读取标记的元数据来确定需要知道自定义标记的哪些信息。

    youdao

  • How does the JSP container know which attributes of a custom tag are required and which are not?

    jsp容器如何知道自定义标记的哪些属性是必选的哪些是可选的?

    youdao

  • The JSP custom tag libraries are a collection of actions presented as tags.

    JSP定制标记库是用标记表示的一组行为的集合。

    youdao

  • In addition, there is a standard facility that developers can use to define their own tags, which are organized into custom tag libraries.

    另外,在自定义标签库中组织了一套标准的工具,开发者们可以使用这些工具来定义他们自己的标签。

    youdao

  • This task is perfect for a custom tag library.

    这个任务最适合于定制标记库。

    youdao

  • The following scenario illustrates how the custom tag library would be used.

    以下方案说明了如何使用定制标记库。

    youdao

  • In this installment of J2EE pathfinder, you've walked through the process of creating a custom tag from scratch and implementing it in a JSP page.

    在J2EE探索者的这篇文章中,您经历了从头创建一个自定义标记并在jsp页面中实现它的过程。

    youdao

  • Your simple custom tag is coded and tested. Now you'll build a tag that's a wee bit more sophisticated.

    编写并测试过简单的自定义标记之后,现在要构建一个略微复杂一些的标记。

    youdao

  • It is similar to a custom tag you might find in JSPs, at least in terms of its syntax.

    它与JS p中的定制标记相似,至少在语法方面是相似的。

    youdao

  • Of further benefit is the existence of the standard set of custom tag libraries defined within the JSTL.

    更好的是在JSTL中已存在一组已定义的标准的自定义标记库。

    youdao

  • The use of a custom tag and associated tag library would allow the example above to be converted to that shown in Listing 6.

    使用自定义标记和相关的标记库允许把以上示例转换为清单6所示的内容。

    youdao

  • This API is used extensively when implementing JSP custom tag handlers.

    这个API在实现JS p自定义标记处理程序时使用得非常多。

    youdao

  • Using the example below, we earlier looked at how custom tag validation worked.

    以下面的代码为例,这是我们在前面了解自定义标记验证如何工作时所涉及的内容。

    youdao

  • The custom tag also has an optional params attribute, which can be a single object or an array of objects.

    这个定制标记还有一个可选的 params属性,它可以是一个单一的对象或一个对象数组。

    youdao

  • In this series, we have examined the capabilities of the four JSTL custom tag libraries and their usage.

    在本系列中,我们讨论了4个JSTL定制标记库的功能及它们的使用。

    youdao

  • Using custom tag libraries to construct the component tree in the view root.

    使用自定义标签库在视图根中构造组件树。

    youdao

  • Listing 9. Test for a custom tag.

    清单9.自定义标记的测试。

    youdao

  • The TLD file for our XSS custom tag library, is shown in Listing 1.

    清单1显示了我们的xss定制标记库的tld文件。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定