简体   繁体   English

Apache Wicket BackButton支持浏览器兼容性问题

[英]Apache Wicket BackButton support Browser Compatibility issue

I am a newbie evaluating wicket framework for development and I have encountered a problem while trying to implement the Browser BackButton support feature of wicket. 我是一个评估wicket框架开发的新手,我在尝试实现wicket的Browser BackButton支持功能时遇到了一个问题。

After reading the documentation and forum discussions on the same topic I tried to put my components and everything in a form and used the - 在阅读有关同一主题的文档和论坛讨论后,我尝试将我的组件和所有内容放在一个表单中并使用 -

         form.setVersioned(true); 

for enabling the Browser BackButton Support. 用于启用浏览器BackButton支持。

This works fine for Mozilla Firefox. 这适用于Mozilla Firefox。 However, the Back Button of Chrome and Internet Explorer fails to deliver the same functionality. 但是,Chrome和Internet Explorer的后退按钮无法提供相同的功能。 This issue has created concern in my further exploration of wicket. 这个问题引起了我对wicket的进一步探索的关注。 Please help. 请帮忙。

probably it is not about serVersioned(true) that is in most cases true by default. 可能它不是关于serVersioned(true),在大多数情况下默认是真的。 The most important thing is to call modelChanging() and modelChanged() methods to notify Wikcet about changes. 最重要的是调用modelChanging()和modelChanged()方法来通知Wikcet有关更改。

See https://cwiki.apache.org/WICKET/browser-back-forward.html 请参阅https://cwiki.apache.org/WICKET/browser-back-forward.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM