0

I am using wicket 1.4.9 Now migrating to newer version 7 or 6 , How to use below code in 6.6.0

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

2 回答 2

1

You need CryptoMapper.

To configure it add the following in YourApplication#init() method:

setRootRequestMapper(new CryptoMapper(getRootRequestMapper(), this));
于 2017-06-22T15:58:21.060 回答
1

I'm using Wicket 7 Try this in your Application;

setRootRequestMapper(new CryptoMapper(getRootRequestMapper(),this));
于 2017-06-23T06:24:02.523 回答