You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2011/03/07 20:44:01 UTC

[jira] Commented: (WICKET-3514) SimpleTree example not working with CryptoMapper

    [ https://issues.apache.org/jira/browse/WICKET-3514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13003538#comment-13003538 ] 

Martin Grigorov commented on WICKET-3514:
-----------------------------------------

The problem is that CryptoMapper is configured as root mapper in the base application (WicketExampleApplication) and then AjaxApplication (the child application) adds several MountedMappers and thus makes CryptoMapper no more root one.

> 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