JSP custom tags can be written by anyone and then supplied for use by JSP authors, in the form of tag libraries.
任何人都可以编写JS p自定义标记,然后以标记库的形式将其提供给JSP创建者使用。
An element representation is created when the parser reports the element start tag, but the initial form of that element is essentially just a shell which holds a reference to the parser.
当解析器报告元素开始标记时创建元素表示,但是该元素的初始形式仅仅只是一个壳,其中保存了对解析器的引用。
Listing 1 shows the expanded form of the tag that you saw in Listing 2 of Part 1.
清单1展示了您在第1部分的清单2中见到的标记的扩展形式。
This code shows an expanded form of the tag in Listing 2.
该代码展示了清单 2中的标记的展开形式。
First, the tag defines the upper limit on the number of clauses that may be combined to form a query.
首先,标记定义了可组合在一起形成一个查询的子句数量的上限。
It took less than 10k of JSP code to implement a set of tag files that produce the basic form elements: lists, text fields, radio buttons, check boxes, and submit buttons.
只需不到10k的JSP代码就可以实现一组标记文件,这些文件生成基本的表单元素:列表、文本字段、单选按钮、复选框和提交按钮。
The resulting page should include some form of tag library code that can display the content of a document.
结果页面应该包括一些格式的标签库代码,它们可以显示文档的内容。
In the next section, you'll see how to embed an tag within a form control.
在下一节中,您将看到如何在表单控件内嵌入标记。
In Figure 2 you can see how the Label tag (Form Test) would be used in a JSP.
在图2中,可以看到在JS p中如何使用Label标记的(FormTest)。
A good example of this is using form fields without a tag, particularly when it comes to Ajax applications.
这种方式的一个不错的示例是使用没有标记的表单字段,特别是在处理Ajax应用程序时。
Upon creation — whether created dynamically or by a programmer — concrete node classes have the form _xo_tagname (where is a tag that occurs in the objectified XML document).
在创建时——无论是动态创建还是由程序员创建——具体节点类的形式为_ XO_tagname(其中是在对象化的XML文档中出现的标记)。
You must encode all variable names of the form with the encodeNameSpace tag element.
您必须使用encodeNameSpace标记元素对表单的所有变量名进行编码。
If there is a unid parameter in the JSP? S querystring, the form tag USES that unid to open a document.
如果在JSP查询字符串中有一个unid参数,那么form标签就会使用这个unid来打开一个文档。
With the field tag in the form, the voice browser waits for the recognizer to tell it what the user said.
使用form内的field标记,语音浏览器等待识别器告诉它用户说了什么。
A Link can have plain text or a HTML A tag as its content (of the form <a href="some url">some text message).
Link可以使用普通文本或HTMLA标记作为内容(通常采用 href="某个url">某些文本消息的形式)。
The form tag from the same library is also used to define an action associated with this view.
同样的库中的form标记也被用来定义与这个视图关联的操作。
My form bean is instantiated on the JSP by the <html:form/> tag.
我的表单在JSP 中通过 <html:form/> 标记被实例化。
Then, the page starts the tag, the text_field and text_area items for each field, a tag, and the end of the form.
然后依次为标记、每个字段的text _ field和text_are a项、标记和表单末尾。
In the middle of the form, the QuickPlaceSkin tag brings in the HTML that forms the body of the page.
在表单的中间,QuickPlaceSkin标签在组成页面主体的HTML中。
Note that the tag is one of a handful of optional tags that can be created within every form control.
请注意,标记是一些可选标记中的一个,这些可选标记可以在每个表单控件内创建。
Since any given element is contained within the start and end tag of its containing element, the structure has to form a tree.
由于任何给定元素都包含在包容它的元素的开始与结束标记之内,因此该结构必然为树型。
This attribute is added to the XFDL tag in the form and identifies which locale the form was designed for.
该属性已被添加到表单的XFDL标记中,表示表单是为哪种语言环境设计的。
The first checkbox in the section indicates whether a JSF form should surround the tag being dropped.
本部分中的第一个复选框,指示了拖拉标签附近是否有一个JSF表单。
Second, you need to associate all of your form input fields with their labels using the HTML label tag.
第二,您需要通过使用HTMLLABEL标记使所有的表单输入域和它们的标签关联。
The first issue is to handle a translation tag in the form of a well-known attribute to indicate that an element has been translated.
首要问题是将翻译标记处理成大家都知道的属性的形式,以表示该元素已经翻译过了。
The form tag submits the values in the form back to the script when a user selects the submit button.
当用户选择提交按钮时表单标记会将表单中的值提交回脚本。
Although URI schemes are case insensitive, the tag RFC (see Resources) recommends the lower-case form.
虽然uri方案对大小写不敏感,但是标签RFC(请参阅参考资料)建议采用小写形式。
Some people with known severe allergies choose to carry a card or wear some form of tag.
有些人与已知的严重过敏,选择携带身份证或磨损某种形式的标记。
The script tag brings in an external script page, which is defined by a form named s_StdPageReadCode.
脚本标签引入了一个外部脚本页,它通过名为s_stdpagereadcode的表单来定义。
A similar example is presented here so that you can compare the form of the JSF article with the Web form based on the JSP tag files of this article.
此处提供了一个类似的例子,便于您将JSF文章中的表单和基于本文JS p标记文件的Web表单进行比较。
应用推荐