English 中文(简体)
JSF 后退/前退按钮和 Ajax
原标题:JSF Back/Forwards buttons and Ajax
  • 时间:2012-05-24 13:24:21
  •  标签:
  • ajax
  • jsf

希望有人能向我解释一些行为。 我有一个带有数据表格和复选框的 JSF 页面。 我有一个 Primeface 命令按钮, 该按钮可以做一些事情, 然后通过 ajax 重新复制表格。 这一切都是我所期望的。 当我单击后按钮, 然后前方按钮时, 数据表格页面会重新播放 。 从 freax 状态中, 我可以看到一个来自 Firebub I 的新邮递请求将会在页面前方发送 。 我需要前方显示此工作 。 如果您查看主页显示 - < a href=" http://www. primefaces.org/showcase/ ui/ datablectRectionRadio- webox.jsf" rel= nofolpolt > http://www. primefaces.org/ showcase/ ui/ databall RutectionRadio- chuckbox.jsf < / a > 这样的工作。 在复选表格中, 如果您点击几个复选复选框, 然后单击, 如果您单击, 将点击一复选后, 将点击后一页, 然后单击/ 将往前单击/ 。

任何想法 如何总理面 是如何实现这一点?

最佳回答

Primefaces 并不是这样做的。是你的浏览器这样做的。您的浏览器显然对 Get 请求有相对进取的缓存设置 。 尝试像 Chrome 这样的不同的浏览器,你会看到您无法复制同样的东西 。

这是你无法控制的 。 您可以在顶点用 Get 导航取代您 Webap 上的 POST 导航 。

问题回答

暂无回答




相关问题
ajax login using httpRequest?

I am trying to develop my login script to give feedback to the user if the login is valid or not. Basically if it isn t correct a div box will show saying its wrong, if its correct it will show its ...

Virtual Tour using sketch up, ajax, flash technologies

I want to know if there are existing technology that make your 3d models in sketch into virtual tours, using either Ajax or Flash for web presentation. If there s none, which will be a good approach ...

How can i update div continuously

I have asp.net application where i have a div which showing the value from other site. The value of that site is changing continuously. I want that my div will automatically update in some interval ...

热门标签