Now the value of the hidden field can be updated by using Ajax.
现在这个隐藏域中的值可以通过使用Ajax进行更新。
The value of edit_mode is also stored in a hidden field of the form.
edit_mode的值也会被存储在表单的一个隐藏域中。
When the form is not editable, the parameter is still present, thanks to the hidden field.
当表单是不可编辑的,由于有一个隐藏域,这个参数仍然会出现。
That handler changes the value of the hidden field back and forth, based on the opposite of the current value.
该处理程序将基于当前值的相反值来回更改隐藏字段的值。
That click sends the Ajax request to the server, the server returns current progress status, and the hidden field is updated.
点击行为将Ajax请求发送给服务器,服务器返回当前的进度状态,隐藏的域也会随之更新。
The event handler takes the contents of the text box and stores it in the hidden field on the Web page.
该事件处理程序获取文本框的内容,并将它存储在网页上的隐藏字段中。
The main difference is that the action parameter is passed by using an HTML hidden field element rather than in a Faces parameter.
主要区别在于,行为参数是通过使用一个html隐藏域元素来传递的,而不是在Faces参数中。
Listing 10 shows the first field of the form, which is an input box if edit_mode is true or a hidden field if edit_mode is false.
清单10显示的是表单的第一个域,如果edit _ mode是true,它就是一个输入框;如果edit _ mode是false,它就是一个隐藏域。
Rather than relying on automatically recorded hidden field data, extraction rules can be manually added and customized as needed.
提取规则可以根据需要手动添加和自定义,而不是依赖于自动记录的隐藏字段数据。
Using the HttpMethodOverride helper method, the framework can emit a special hidden field to simulate REST verbs when making AJAX calls.
通过使用HttpMethodOverride方法,框架会生成一个特殊的隐藏字段,以便在AJAX请求中模拟RESTverbs。
The session ID can be passed in one of three ways: as a parameter in an HTML form (typically a hidden field); as a parameter appended to the query string; or as an attribute of a cookie.
会话标识可以用三种方式中一种进行传递:作为HTML表单中的参数(通常是隐藏字段);作为附加在查询字符串后的参数;或者作为 cookie 的属性。
For every form there should be an internal action processing the form after the user has submitted it. A hidden field is used to invoke a specific internal action, as shown in Listing 31.
每个表单都应该有一个内部操作,以在用户提交表单之后处理表单。
To make it work, all you need to do is change the value of the "hidden" field to your website's domain name.
为了让它运转起来,你需要做的只是把“hidden”字段的值改成你网站的域名。
To make it work, all you need to do is change the value of the "hidden" field to your website's domain name.
为了让它运转起来,你需要做的只是把“hidden”字段的值改成你网站的域名。
应用推荐