ApacheWicket 6.X和7.X中的IRequestCycleProcessor

ApacheWicket 6.X和7.X中的IRequestCycleProcessor,wicket,wicket-1.5,wicket-6,wicket-7,Wicket,Wicket 1.5,Wicket 6,Wicket 7,我正在使用wicket 1.4.9,现在正在迁移到更新的版本7或6, 如何在6.6.0中使用以下代码 protected IRequestCycleProcessor newRequestCycleProcessor() { return new WebRequestCycleProcessor() { protected IRequestCodingStrategy newRequestCodingStrategy() {

我正在使用wicket 1.4.9,现在正在迁移到更新的版本7或6, 如何在6.6.0中使用以下代码

protected IRequestCycleProcessor newRequestCycleProcessor() {
        return new WebRequestCycleProcessor() {
            protected IRequestCodingStrategy newRequestCodingStrategy() {
                return new CryptedUrlWebRequestCodingStrategy(super.newRequestCodingStrategy());
            }
        };
    }
你需要

要配置它,请在应用程序#init()方法中添加以下内容:

你需要

要配置它,请在应用程序#init()方法中添加以下内容:


我正在使用Wicket 7在您的应用程序中尝试此功能

setRootRequestMapper(new CryptoMapper(getRootRequestMapper(),this));

我正在使用Wicket 7在您的应用程序中尝试此功能

setRootRequestMapper(new CryptoMapper(getRootRequestMapper(),this));

这里CryptoMapper需要2个参数,我不能传递null来代替第二位的setRootRequestMapper(新的CryptoMapper(wrappedMapper,application));我相信你的答案应该是值得鼓励的,+1。这里CryptoMapper需要2个参数,我不能传递null来代替第二位的setRootRequestMapper(新的CryptoMapper(wrappedMapper,application));我相信你的回答应该得到鼓励,+1。