Listing 1 shows what the handler of the custom tag should look like.
清单1展示了定制标记的处理函数是什么样的。
Listing 16 contains the rpc.tag file, which implements the custom tag.
清单16包含rpc. tag文件,该文件实现定制标记。
The following scenario illustrates how the custom tag library would be used.
以下方案说明了如何使用定制标记库。
Thus, if the component already exists the custom tag will not modify its state.
因此,如果组件已经存在,自定义标签将不会修改它的状态。
Next, we add a JSP declaration to any page that will need to use the custom tag library.
然后,将JSP声明加入到所有需要使用自定义标记库的页面中。
Perhaps as much as 80 percent of the custom tag functionality that you will need has already been created and standardized by the J2EE community.
您所需要的自定义标记功能中也许有多达百分之八十已经由J2EE团体创建并标准化了。
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.
当容器遇到一个标记时,它调用与这个自定义标记相关联的标记处理程序,我们将在后面更多地讨论这个过程。
The custom tag has two methods that return the component type and the renderer type.
定制标记有两个方法,分别返回组件类型和渲染器类型。
The custom tag also has an optional params attribute, which can be a single object or an array of objects.
这个定制标记还有一个可选的 params属性,它可以是一个单一的对象或一个对象数组。
The custom tag also has an optional params attribute, which can be a single object or an array of objects.
这个定制标记还有一个可选的 params属性,它可以是一个单一的对象或一个对象数组。
应用推荐