清单16提供了一种表单标记示例。
您可能还希望添加不属于jsp基本集的更多表单标记。
You may also want to add further form tags that are not part of the standard set of JSPs.
当用户选择提交按钮时表单标记会将表单中的值提交回脚本。
The form tag submits the values in the form back to the script when a user selects the submit button.
这个纯粹是避免出现一些错误信息,真实的表单标记应该拥有全部的必填字段。
This is purely to avoid error messages, the real form markup should have all required fields.
只需不到10k的JSP代码就可以实现一组标记文件,这些文件生成基本的表单元素:列表、文本字段、单选按钮、复选框和提交按钮。
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.
表达式语言—通常用于表单输入字段名称和JSP标记。
Expression language - Normally used in form input field names and JSP tags.
此外,还能将表单元素放在页面中的任何位置,与其他标记混合在一起。
Furthermore, you can put the form elements anywhere on the page you like, intermixed with any markup.
首先,将表单预先打印的部分变成标记;其次,将要填充的部分变成数据元素;然后,将类似于单位的东西变成属性。
First, make the preprinted parts of the forms into tags; second, make the parts you fill in into data elements; and third, change things like units into attributes.
在下一节中,您将看到如何在表单控件内嵌入标记。
In the next section, you'll see how to embed an tag within a form control.
第2部分展示了如何使用约定和JSP标记文件创建HTML表单以最小化设置和配置。
Part 2 showed how to create HTML forms, using conventions and JSP tag files to minimize setup and configuration.
第二,您需要通过使用HTMLLABEL标记使所有的表单输入域和它们的标签关联。
Second, you need to associate all of your form input fields with their labels using the HTML label tag.
一旦用户选择了要上传的文件,将标题和可选标记输入此表单并提交后,脚本的另一半就会发挥作用。
Once the user selects an image file for upload, enters a title and optional tags into this form and submits it, the second half of the script swings into action.
这个视图中的字符串应该在词汇表中被标记为DNT,因为表单名称应该保留为英文。
The strings in this view should be marked as DNT in the glossary because the form name should be kept in English.
清单1显示了用于以html格式创建此股票代号表单的标记片段。
Listing 1 shows the markup fragment used to create this stock ticker form in HTML.
最基本的表单控件是标记。
本系列的第2部分展示了如何用一组JS p标记文件生成HTML表单。
Part 2 of this series showed how to generate HTML forms, using a set of JSP tag files.
第2部分:创建HTML表单,使用约定和JSP标记文件使设置和配置最小化。
Part 2: Create HTML forms, using conventions and JSP tag files to minimize setup and configuration.
而且,事件处理脚本和表单的表示标记混杂在一起。
And, finally, the event handling scripts are intertwined with the form's presentation markup.
因此,可以标记那些在表单加载后立即发生的提交,这可以通过使用这样一个时间间隔实现,在这个时间间隔内普通人是根本无法如此快速地完成表单输入的。
You might want to flag submissions that were made immediately after the form was loaded, with an interval that makes it improbable that a human was able to fill out the form inputs so quickly.
该属性已被添加到表单的XFDL标记中,表示表单是为哪种语言环境设计的。
This attribute is added to the XFDL tag in the form and identifies which locale the form was designed for.
包含该表单的可扩展标记语言(XHTML)文档如清单1所示。
The Extensible Hypertext Markup Language (XHTML) document containing this form is shown in Listing 1.
您必须使用encodeNameSpace标记元素对表单的所有变量名进行编码。
You must encode all variable names of the form with the encodeNameSpace tag element.
在清单3中生成的XHTML表单片段中,可以看到两个fieldset标记。
In the fragments of the generated XHTML form in Listing 3, you see two fieldset tags.
要开发的应用程序将主要使用Spring标记库把表单与命令对象绑定在一起。
The application you'll develop uses the Spring tag libraries mainly to bind forms with a command object.
Struts包括用于表单处理的丰富自定义标记集,但是还包括一个称为“Tiles”的概念,它支持声明式的页面组合。
Struts includes a rich set of custom tags for forms handling, but also a concept called "tiles" which enable declarative page composition.
在MyHTML中可以强制实施公司的站点标准,包括表单布局、标题级别、字体和blink标记的使用等的特殊规则。
In MyHTML you could enforce site standards for your company, including specific rules about forms layout, heading levels, and use of font and blink tags.
通过在所生成的表单中生成下列标记,将用于PostalAddress元素的type属性的控件作为XFormsselect1控件来进行研究。
Surfacing the control for the type attribute of the PostalAddress element as an XForms select1 control by generating the following markup within the generated form.
MobilePortal使用相关设备支持的输入方法将表单转换为适合每个设备的标记。
Mobile Portal converts the forms into markup suitable for each device using input methods supported by the device.
在以前,单击Advanced按钮会向用户显示签名涵盖的表单部分的XFDL标记,这并不要求用户执行什么操作。
Clicking the Advanced button showed users an XFDL markup of the form parts covered by the signature, which required no action on the part of the user.
它可以生成有效而实用的表单,其中包含嵌入在XHTML文档中的XForms标记。
It produces valid and functional forms containing XForms markup embedded within an XHTML document.
应用推荐