一个标签处理函数类。
The first thing we need to do is write the tag handler class.
我们要做的第一件事是编写标记处理程序类。
The EncodeTag class is the tag handler for the encode action.
encodetag类是用于编码操作的标记处理程序。
The tagclass element defines the tag handler class EncodeTag.
tagclass元素定义标记处理程序类encodetag。
The tag handler class iterates on the vector of value objects.
tag handler类遍历这个值对象vector。
Support for deferred expressions that can be executed as needed by a JSP tag handler.
支持延期执行的表达式,JS p标记处理器可以根据需要执行它们。
When using JSF 1.1, the encoding methods are initially called by the tag handler methods.
当使用JSF 1.1时,编码方法最初都由标记处理程序方法调用。
Listing 18 shows the HelpOnFocusTag class, which implements the tag handler for the custom component.
清单18展示了helponfocustag类,它实现自定义组件的标记处理程序。
A tag handler is an object in the Web container that helps evaluate actions when a JSP page executes.
标记处理程序是web容器中的对象,在执行jsp页面时它帮助对操作求值。
This will ensure that the JSP processor of Portal Server is able to locate the new Theme tag handler.
这将确保PortalServer的JSP处理器能够定位新的主题标记处理程序。
Given a scenario, write tag handler code to access the parent tag and an arbitrary tag ancestor.
给出一种假定,写出标签处理代码去访问父标签和任意的祖父标签。
package. When a tag handler code is invoked by the JSP processor, the doStartTag() method will be called first.
当标记处理程序代码被JSP处理器调用时,doStartTag()方法将首先被调用。
JSP Fragments, which are portions of a JSP page that can be used by a tag handler to produce customized content.
JS p片段,是jsp页面的一部分,标记处理程序能用它来产生定制的内容。
If we were developing several tags or defining tags with tag variables, we would have multiple tag handler classes.
如果我们开发的是几个标记或者定义有标记变量的标记,那么我们就会有多个标记处理程序类。
This has the effect of requesting the Portal Server's JSP processor to execute our version of the Theme tag handler.
这样做的效果是请求PortalServer的JSP处理器执行我们自己的主题标记处理程序。
If you want to use the custom component in a JSF 1.1-based application, the superclass of the tag handler must be UIComponentTag.
如果希望在基于JSF 1.1的应用程序中使用此自定义组件,则标记处理程序的超类必须是UIComponentTag。
While the JSP page that references the tag executes, the JSP runtime invokes the tag handler class to execute the business logic it defines.
在执行引用这个标记的JS p页时,JSP运行时调用tag handler类执行它所定义的业务逻辑。
You will recall that we have already placed the tag handler class in the classes directory, in Step 1, so we actually only have to store the TLD file.
您可以回忆起在第1步中我们已经将标记处理程序类放到了classes目录中,所以我们实际上只需储存tld文件。
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.
当容器遇到一个标记时,它调用与这个自定义标记相关联的标记处理程序,我们将在后面更多地讨论这个过程。
On the basis of implementing custom tags in JSP pages, this paper focuses on the analysis of the process of tag handler class and the form of custom tags.
本文以JSP页面中实现自定义标记的过程为基础 ,着重分析了标记处理类的处理流程和嵌套的自定义标记形式 。
Every tag handler then implements a special interface from the JSP API. There are two types of tags: those that can process the content (or body) of a tag and those that cannot.
然后,每一个标记处理程序实现JSPAPI中的一个特殊接口。
Using the same principle of overriding the default implementation of the Tag handler, there are many different customizations that can be added to portal Server for a highly personalized portal site.
使用覆盖标记处理程序缺省实现的相同原理,有很多不同的定制可以添加到一个高度个性化的门户网站的PortalServer中。
Listing 1 shows what the handler of the custom tag should look like.
清单1展示了定制标记的处理函数是什么样的。
The tag is an XML event handler.
标记是XML事件处理程序。
You, on the other hand, have no use for accessing row contents inside the tag, since you have to build up the table from scratch inside the handler to respond to your dynamic table shape.
另一方面,您无法访问标记内的行内容,因此需要在处理程序中从头构建新表以对动态表形状作出响应。
Another approach is to write a method nested in the tag declaration of an object and assign the event handler to the event attribute of that method.
另一种方法是编写一个方法,将该方法嵌入在对象的标记声明中,并将事件处理程序赋给那个方法的event属性。
When clicked, this trigger throws a click event, which is caught by the tag event handler.
当被点击时,该trigger抛出click事件,该事件由标记事件处理程序捕捉。
The tag shown below creates a Window object whose onx event is wired to the event handler myHandler.
下面显示的标记创建一个Window对象,它的onx事件与事件处理程序myhandler相关联。
The first of these is the handler panel at the top of the code segment, which is a wrapper for a div tag with the class panel.
第一个助手是位于代码段顶部的处理程序panel,这是带有 panel类的div标记的包装器。
All key information is contained within the tag tag where the tag name and handler class are mapped, and we've made a declaration regarding the tag's sensitivity to body content.
所有关键信息都包含在Tag标记中,在这里映射了标记名和处理程序类,我们声明了标记对于正文内容的敏感性。
应用推荐