在本系列的第2部分,您将获得更多有关处理组件树和控制请求处理生命周期的JSF技巧。
In Part 2 of this series, you'll find more JSF techniques for working with the component tree and controlling the request processing life cycle.
我的第一个使用 Ajax 构建表格的演示是,通过 Ajax 向服务器发送 XML 请求,此技巧的价值是双重的。
My first demonstration of building tables with Ajax is through the use of an XML request to the server over Ajax. The value of this technique is two-fold.
这种技巧常被用于确保到脚本的POST每次都会实际生成新请求且Web服务器不会尝试缓存来自服务器的响应。
This is a common trick to ensure that POSTing to a script actually repeatedly generates a new request each time, and the Web browser doesn't try and cache responses from the server.
应用推荐