对于非常简单的表单,如果你非常快速的点击“提交”按钮两次或是更多次,表单将同样被提交两次或是多次。
With very simple forms, if you click the "submit" button twice or more very quickly, the form will be submitted two or more times.
上面的表单并没做什么,只是用一个不活动的提交按钮修饰一下下面的页面。
The above form does nothing but render the following page with an inactive submit button.
因此,一个表单可以有多个提交按钮,每个按钮可以将请求发送到不同页面,以生成HTML响应。
Therefore, a form can have multiple submit buttons, and each button can take the request to a different page for generating the HTML response.
这段代码定义了包含输入和提交按钮的表单。
The code defines a form that contains one input and a submit button.
清单32.生成表单元素显示了XSL模板如何生成HTML输入字段和提交按钮。
Listing 32. Generating form elements shows how XSL templates generate the HTML input fields and the submit button.
因此,当用按钮提交表单时,关联的方法就会被调用(假设所有验证无误)。
Thus, when the form is submitted with the button, the associated method gets invoked (assuming that all validation is ok).
用户可以改变地址,点击HTML表单小部件上的提交按钮。
Users can change the address and hit the submit button on the HTML form widget.
点击适当的按钮提交表单。
结果是,当用户点击按钮时,当前的表单提交内容给指定的目标页。
As a result, when the user clicks the button, the current form posts its content to the specified target page.
(请注意添加提交按钮的步骤也适用于自己的定制表单)。
Note that the process of adding a submission button can also be applied to your own custom form.
如何向表单添加提交按钮。
如果标记此Ajax请求的头不存在,那么就表明用户一定是单击了Web表单的提交按钮。
If the header marking the Ajax requests is not present, the user must have clicked the Submit button of the Web form.
单击提交按钮时,将通过ApplicationUtil执行一个特定的表单验证。
When clicking the submit button, a specific form validation is performed through ApplicationUtil.
表单包括一个提交按钮,它将执行传到后端servlet的HTTPpost。
The form includes a submit button that performs an HTTP post to a backend servlet.
当用户按下submit按钮时,在向服务器提交表单之前将执行onsubmit处理程序中的代码。
When a user presses the submit button, the code placed in the onsubmit handler is executed before the form is submitted to the server.
要提交表单,只需点击Submit按钮。
方法之一是使用简单的XFDL按钮,将整个表单提交到servlet。
One such method for doing so is a simple XFDL button that submits the entire form to a servlet.
最后一步是用代码创建一个新web页面,来创建表单并处理Validate按钮上的提交事件。
The final step is to create a new web page with the code to create the form and handle the submit event on the Validate button.
提交规则通常与表单的Submit按钮相关联。
The submission rule is typically associated with the Submit button of the form.
当用户点击“SayHello”按钮提交表单,Seam用输入数据构造了该person组件。
When the user clicks on the "Say Hello" button to submit the form, Seam creates the person managed component with the input data.
在IBMWorkplaceFormsViewer中打开表单时,应显示最新添加的提交按钮。
The newly added submission button should now appear when the form is opened in IBM Workplace Forms Viewer.
一旦用户填好了表单并按下提交按钮,参数就被传递给注册servlet。
Once the user fills out the form and presses the submit button, the parameters are passed onto the registration servlet. This is coded on the tag, as follows.
完成后,使用Go按钮提交表单。
用户在Web表单中输入名字(例如,Bill Higgins),并单击提交按钮。
A user enters a name (for example, Bill Higgins) in a Web form and clicks a Submit button.
如果用户不能提交表单或没有单击提交按钮就放弃了此页面,那么最后保存的数据会尽可能久地被存储在内存。
If the user cannot submit the form or if he abandons the page without clicking the submit button, the last saved data is kept in memory as long as possible.
单击一个链接或表单的提交按钮后,请求就被发送给服务器,而此服务器之后会处理该请求并发送回一个响应。
You click a link or a form's Submit button, and the request is sent to the server, which then processes that request and sends back a response.
只需不到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.
当用户选择提交按钮时表单标记会将表单中的值提交回脚本。
The form tag submits the values in the form back to the script when a user selects the submit button.
在用户单击按钮发生常规表单提交的情况下,JSF框架还将调用与这个命令按钮相关的动作方法。
In the case of a normal form submit that occurs when the user clicks a button, the JSF framework would also invoke the action method associated with the command button.
在用户单击按钮发生常规表单提交的情况下,JSF框架还将调用与这个命令按钮相关的动作方法。
In the case of a normal form submit that occurs when the user clicks a button, the JSF framework would also invoke the action method associated with the command button.
应用推荐