第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.
第2部分:创建HTML表单,使用约定和JSP标记文件使设置和配置最小化。
Part 2: Create HTML forms, using conventions and JSP tag files to minimize setup and configuration.
要开发的应用程序将主要使用Spring标记库把表单与命令对象绑定在一起。
The application you'll develop uses the Spring tag libraries mainly to bind forms with a command object.
在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.
MobilePortal使用相关设备支持的输入方法将表单转换为适合每个设备的标记。
Mobile Portal converts the forms into markup suitable for each device using input methods supported by the device.
您必须使用encodeNameSpace标记元素对表单的所有变量名进行编码。
You must encode all variable names of the form with the encodeNameSpace tag element.
如果您将简单的XDIME表单的标记与高级表单的该标记进行比较,您将注意到高级表单使用了theme属性。
If you compare the tag of the simple XDIME form with that of the more advanced form, you'll notice that the advanced form USES a theme attribute.
因此,可以标记那些在表单加载后立即发生的提交,这可以通过使用这样一个时间间隔实现,在这个时间间隔内普通人是根本无法如此快速地完成表单输入的。
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.
您可以使用一种一次性使用标记,虽然这种技术仍然不能确保表单绝对安全,但是会使表单欺骗更加困难。
One technique you can use is a single-use token, which does not make it impossible to spoof your forms but does make it a tremendous hassle.
这种方式的一个不错的示例是使用没有标记的表单字段,特别是在处理Ajax应用程序时。
A good example of this is using form fields without a tag, particularly when it comes to Ajax applications.
不同之处在于,Seam组件标记组装的链接使用一个HTTPGET操作发出请求,而不是使用JSF的HTTP POST表单提交模型表示。
The difference is that links assembled by the Seam component tags issue requests using an HTTP GET operation, rather than the HTTP POST form submission model indicative of JSF.
为了保护您免受CSRF攻击,需要使用在检验表单post时使用的一次性标记方法。
To guard yourself against CSRF, use the one-use token approach you use in your habit of verifying form posts.
MobilePortal还提供了一种机制,通过这种机制,可以使用相同的XDIME标记为功能丰富的设备生成大表单,而为比较简单的设备生成小表单。
Mobile Portal also provides a mechanism for using the same XDIME markup to generate a large form for rich devices and a small form for simpler devices.
使用 <logic:iterate>Struts标记;我们在UserFormBean 操作表单中使用userNameValues字符串组。
Use <logic:iterate> Struts tag; we use the userNameValues String array in UserFormBean action form. The following code displays user names set in the action form
使用 <logic:iterate>Struts标记;我们在UserFormBean 操作表单中使用userNameValues字符串组。
Use <logic:iterate> Struts tag; we use the userNameValues String array in UserFormBean action form. The following code displays user names set in the action form
应用推荐