对于非常简单的表单,如果你非常快速的点击“提交”按钮两次或是更多次,表单将同样被提交两次或是多次。
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.
清单32.生成表单元素显示了XSL模板如何生成HTML输入字段和提交按钮。
Listing 32. Generating form elements shows how XSL templates generate the HTML input fields and the submit button.
该视图显示当前的时间报告、会启动时间输入表单的按钮以及一个向导,该向导帮助您管理时间报告的编辑以及向SAP提交时间报告,见图2。
The view displays current time reports, buttons initiate the time entry form, and a wizard helps you manage the editing and submission of time reports to SAP (see figure 2).
因此,当用按钮提交表单时,关联的方法就会被调用(假设所有验证无误)。
Thus, when the form is submitted with the button, the associated method gets invoked (assuming that all validation is ok).
结果是,当用户点击按钮时,当前的表单提交内容给指定的目标页。
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.
确保电子表单满足要求,即它必须至少包含一个提交按钮,其中带有一个为WorkplaceFormsIntegrator配置的标记。
Make sure that the e-form fulfills the requirement that it must contain at least one submit button with a tag configured for Workplace Forms Integrator.
表单包括一个提交按钮,它将执行传到后端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.
方法之一是使用简单的XFDL按钮,将整个表单提交到servlet。
One such method for doing so is a simple XFDL button that submits the entire form to a servlet.
通过单击一个按钮,用户能够切换两个版本的表单,使用Ajax向服务器提交数据并获取用于更新页面的HTML内容。
By clicking a button, the user can switch between the two versions of the form, submitting the data to the server with Ajax and retrieving the HTML content that is needed to update the page.
最后一步是用代码创建一个新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.
然后,submitForm()返回false,因此Send按钮的onclick表达式返回 false,指示Web浏览器不要将表单数据提交到服务器。
Then, submitForm() returns false so that the onclick expression of the Send button can return false, indicating the Web browser must not submit the form data to the server.
当用户点击“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.
用户在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.
应用程序可以使用Ajax实现自动保存,但前提是表单应提供传统的提交按钮或使用同步请求发送数据以做处理。
Applications can use Ajax for auto-saving, but your forms should either provide good old submit buttons or use synchronous requests for sending the data for processing.
对WorkplaceFormsIntegrator的惟一要求是,电子表单模板至少要包含一个提交按钮(done),需要具有一个本文稍后将展示的标记。
The only requirement from Workplace Forms Integrator is that e-form templates include at least one submit button (done) with a required tag shown later in this article.
对WorkplaceFormsIntegrator的惟一要求是,电子表单模板至少要包含一个提交按钮(done),需要具有一个本文稍后将展示的标记。
The only requirement from Workplace Forms Integrator is that e-form templates include at least one submit button (done) with a required tag shown later in this article.
应用推荐