[
https://issues.apache.org/jira/browse/WICKET-3514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13003558#comment-13003558
]
Martin Grigorov commented on WICKET-3514:
-----------------------------------------
The problem with the missing image is the following:
without cryptomapper the url looks like: /ajax/tree/simple?0. The image is
loaded from .css with: url(some.png), so it is resolved to: /ajax/tree/some.png.
with cryptomapper the url is: /ajax/?wicket=zxcvbnm, so the image url is
resolved to: /ajax/some.png and cannot be found.
> SimpleTree example not working with CryptoMapper
> ------------------------------------------------
>
> Key: WICKET-3514
> URL: https://issues.apache.org/jira/browse/WICKET-3514
> Project: Wicket
> Issue Type: Bug
> Components: wicket-core, wicket-examples
> Affects Versions: 1.5-RC2
> Environment: Ubuntu 10.04 and Wicket 1.5 latest trunk
> Reporter: L. Kluitmann
> Labels: wicket
>
> Adding the following lines to WicketExampleApplication.java causes the
> SimpleTree example to break. There are no expand icons anymore and there is
> no way to expand the tree. Even the expand link will not work.
> Add to WicketExampleApplication.java
> IRequestMapper cryptoMapper = new CryptoMapper(getRootRequestMapper(), this);
> setRootRequestMapper(cryptoMapper);
> Comment out in WicketExampleApplication.java
> //getSecuritySettings().setCryptFactory(new ClassCryptFactory(NoCrypt.class,
> ISecuritySettings.DEFAULT_ENCRYPTION_KEY));
> Without the CryptoMapper everythings works fine.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira