以上表单调用的Python脚本将导入cgi 以使整理其调用表单变得更容易。
The Python script that gets called by the above form does an import cgi to make sorting out its calling form easy.
由于在每次调用表单时都会更改标记,因此想要成为攻击者就必须获得发送表单的实例,去掉标记,并把它放到假表单中。
Because the token is changed each time the form is drawn, a would-be attacker would have to get an instance of the sending form, strip out the token, and put it in their spoofing version of the form.
可以在页面和条目节点以及表单节点上调用这个函数。
The function can be called on page and item nodes as well as form nodes.
您需要做的就是确保表单在客户的共同浏览会话中出现之前调用这个新函数。
All you need to do now is make sure to call the new function before the form appears in the customer's co-browsing session.
这是一个即时事件处理的例子,因为整个表单没有在调用事件处理程序之前进行有效性验证。
This is an example of immediate event handling, since the whole form is not validated before the event handler is invoked.
要使用LDAP,请将身份验证配置为基于表单的身份验证,并调用 LDAP来检查用户ID和凭据。
To use LDAP, define the authentication as FORM based, and invoke LDAP to check for the user ID and credentials.
在HTML表单中,您现在可以看出我为什么调用了输入字段zip5。
In the HTML form, you can now see why I called the input field zip5.
展示层可以调用验证逻辑对表单提供的数据进行验证,然后再将该数据传递给域模型。
The presentation layer can call the validation logic on the data provided by a form before passing it to the domain model.
原因是使用来自 Ajax调用的响应来更新多个表单字段比较困难。
The difficulty has to do with updating multiple form fields with the response from the Ajax call.
清单18演示了处理相同web页面的糟糕示例—无论是通过GET请求调用页面还是通过把表单发布到页面中。
Listing 18 demonstrates a poor example of a Web page that processes identically - whether the page is called by a GET request or by having a form posted to it.
在异步ajax调用期间启用和禁用表单元素。
Enable and disable form elements during asynchronous Ajax calls.
首先,使csnjobsamples脚本库在Memo表单中可用,这样动作就能够调用这个脚本库中的函数。
First, make the CSNJobSamples script library available in the Memo form so that the action can make calls to the functions in the script library.
这会带来一个新的可调用的函数serialize,该函数获取表单内的所有输入字段并创建这些字段的名称和值的哈希表。
This gives a new function to call, the serialize function, which gets all the input fields in the form and creates a hash of their names and values.
然后,发现其中含有可选标签,隐藏它们,并调用end返回表单。
Then, I found the optional labels inside it, hid them, and called end to go back to the form.
当用户提交注册表单时,RegistrationServlet被调用。
When the user submits the registration form, the RegistrationServlet is called.
Create——这是一个静态的html页面,这个页面提供用于接受用户输入的表单,并通过调用CreateAccountservlet来创建一个Account。
Create — a static HTML page that provides the form for accepting inputs for creating an Account by invoking the CreateAccount servlet.
图3展示了两次成功执行ajax调用之后Flight表单的外观。
Figure 3 shows what the Flight form looks like after a couple of successful Ajax calls.
自动调用这些变量的setter方法以输入从HTML表单中检索而得的值。
Automatically calls the setter methods of these variables to enter the values retrieved from the HTML form.
关于清单9中的代码,最后要注意的一点是由于表单包含DojoDijits,需要调用Dojo行为的Dojoparse方法使其起作用。
The last thing to note about the code in Listing 9 is that because the form contains Dojo Dijits, you have to call the Dojo parse method for the Dojo behavior to take effect.
调用了Web服务之后,LotusDomino服务器存储表单并启动采购流程。
After the Web service is called, the Lotus Domino server stores the form and initiates the procurement process.
Struct框架自动的调用validate,并在验证失败时重新渲染表单页面。
The Struts framework calls validate automatically, and if any item fails validation, the form page is rendered again.
通过调用driver. click (“submit ”)提交表单后,Selenium将等待响应的加载,然后我将断言成功的创建信息。
Once the form is submitted via the driver.click (" submit ") call, I force Selenium to wait for the response to load and then I assert the presence of a successful creation message.
当用户告诉应用程序猜测错误时,要显示这个表单,它会调用get_new _ target函数,见清单3。
You'll display that form when the user tells the application that it guessed wrong, which calls the get_new_target function, as in Listing 3.
我们的例子使用前面提到的s_RunAgent表单来调用代理。
Our example leverages the s_RunAgent form mentioned earlier to invoke the agent.
单击表单按钮时会调用 submitDemoForm()函数(见清单17)。
The submitDemoForm() function (see Listing 17) is called when the form's button is clicked.
在调用该公式代理的Memo表单中创建表单操作按钮。
Create a form action button in the Memo form that calls this formula agent.
例如createitem函数,会被每个表单定义字段调用,能动态生成和链接小部件。
An example is the createItem function, which is invoked for every form definition field and dynamically creates and links the widgets.
将调用 FileReportServlet并显示安全事故表单 (incident.jsp)。
The FileReport servlet is invoked and displays the security incident form (incident.jsp).
搜索表单附有负责调用SIAPI 的 LotusScript,SIAPI按照第一个表单所设定的配置与OmniFind通信。
Accompanying the search form is LotusScript that is responsible for calling SIAPI. SIAPI communicates with OmniFind using the settings provided in the first configuration form
我们使用PHP功能强大的HTML表单解析来确定是否使用了任何CGI变量值来调用脚本;如果没有,那么我们就只返回HTML表单。
We use PHP's powerful HTML form parsing to determine if the script was invoked with any CGI variable values; if not, we simply return the HTML form.
应用推荐