基于客户机的表单处理程序可以放在高端的个人计算机上,也可以放在低端的可移动设备上。
Client-based forms processors can exist on high-end personal computers or lower-end portable devices.
无论在客户机还是服务器上,对XForms来说XPath都是一种很好的辅助技术;一旦掌握了XPath,就可以在表单和表单处理程序中使用它。
XPath is an excellent complementary technology for XForms on both the client and the server; once you've mastered XPath, you can use it in your forms, and in the form processor.
这是一个即时事件处理的例子,因为整个表单没有在调用事件处理程序之前进行有效性验证。
This is an example of immediate event handling, since the whole form is not validated before the event handler is invoked.
当然,在服务器上的脚本或程序处理和返回新表单时用户必须等待。
Of course, while the script or program on the server is processing and returning a new form, users have to wait.
最后,我在表单中添加了一个提交事件处理程序。
表单客户机将表单模板存储在设备上,启用了表单应用程序,并且在本地对表单数据进行排队,直到这些数据能够与服务器同步以进行处理为止。
The forms client stored the form template on the device, enabled use of the forms application, and queued the forms data locally until it could be synchronized to the server for processing.
在最古老的表单的事件处理程序看起来是这样的。
表单服务器将表单应用程序存储在表单库,将表单模板部署到目标设备,并且启动了与服务器同步的表单数据的处理。
The forms server stored the forms application in the form repository, deployed the form template to the target device, and initiated the processing of the forms data synchronized to the server.
若表单是自动保存的,请求处理生命周期的这后三个阶段(更新模型值、调用应用程序和呈现响应)是不必要的。
The last three phases of the request processing life cycle (Update Model Values, Invoke Application, and Render Response) are not needed when the form is auto-saved.
至此,HTML表单中的所有东西都成了纯python变量,而且我们可以在其它任何Python程序中处理它们。
From here, we have everything in the HTML form in plain Python variables, and we can handle them as in any other Python program.
然后,WebformServer可以接收完成的HTML表单,将它们转换回xfdl格式,并将它们传递给应用程序进行进一步处理。
The Webform Server can then receive the completed forms in HTML, translate them back into XFDL, and pass them along to your application for further processing.
您可以使用onloaded事件处理程序根据服务器响应处理其他表单字段。
You can use the onloaded event handler to process other form fields based on the server response.
在清单13中,您向表单的submit事件添加了一个事件处理程序。
In Listing 13, you add an event handler to the submit event of the form.
客户门户应用程序包括访问、填写的能力,以及使用IBM的Adobe FormServer提供的FormsAccessportlet来处理Adobe智能表单。
Custom portal applications can include the ability to access, fill, and process Adobe intelligent forms by using the forms access portlet provided by Adobe form Server for IBM.
现在,只需要将其通过Ajax提交,方法还是通过向表单的submit事件添加一个处理程序。
Now you just need to make it submit via Ajax, too, by attaching a handler to the form's submit event.
xajax对象为可能从php脚本或输入表单事件处理程序中调用的php函数创建包装器函数。
The xajax object creates wrapper functions for the PHP functions that may be invoked from a PHP script or an input form event handler.
我们将这个处理程序更改为解析来自这个servlet中的一个表单的文本输入,而不是解析一个现有文件。
Instead of parsing an existing file, change the handler to parse text input from a form in the servlet.
因此,此片段需要一个click处理程序来用checkout 4b -fragment .html的折扣表单重新加载当前的选项卡。
This fragment, therefore, needs a click handler to reload the current TAB with the discount form from checkout4b-fragment.html. The results look like Listing 11.
如果希望将整个表单提交给进行处理的应用程序,那么就不需要提交规则。
The submission rule is not required if you want to submit the entire form to the processing application.
在这种情况下,只将必要的数据(比如姓名、日期和休假类型)发送给进行处理的应用程序,而不需要发送整个表单。
In this case, only the required data such as name, dates, and leave type — rather than the entire form — are sent to the processing application.
示例应用程序将帮助您熟悉各种概念,例如,如何处理底层请求,以及如何处理表单的提交。
The sample application familiarizes you with various concepts, such as how a request is processed under the hood and how to handle form submissions.
如果应用程序包含表单,那么可以在表单处理函数上设置断点并查看输入的参数。
If the application had forms, you could set a breakpoint at the form handler and view the incoming parameters.
还需要向用户提供处理它们所需的信息、应用程序,以及表单。
Also, you need to provide the information, applications, and forms a user needs to process them.
不需要将整个表单传递给进行处理的应用程序,而是可以定义要从表单收集哪些数据,以及要将哪些数据发送给进行处理的应用程序。
Rather than parsing the entire form to the processing application, you can define which data to collect from the form and which data to send to the processing application.
企业应用程序接收表单数据实例以进行处理。
The enterprise application receives the forms data instances for processing.
XFDL提交:这类提交通常向处理应用程序提交完整的表单。
XFDL submissions. These typically submit the complete form to a processing application.
但是,一些应用程序(比如职员的休假申请表单)不需要处理或存储整个表单。
Some applications, though, such as an employee's application form for time off, do not require the entire form for processing or storing.
如果站点要处理大量的通信流,或者有许多表单应用程序,那么可以选择分布式安装。
You may choose a distributed installation if your site handles a high volume of traffic, or if you're hosting a large number of forms applications.
多数应用程序中都会结合一些静态数据和用户处理的表单中的数据来构造该URL。
In most applications, you'll construct this URL from some set of static data combined with data from the form your users work with.
当用户按下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.
应用推荐