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

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

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
            Priority: Critical


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

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

Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
    [ 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

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

Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-3514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13071574#comment-13071574 ] 

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

Thanks, Sven!
I applied your improvements and test.

> 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: Ludger Kluitmann
>            Assignee: Martin Grigorov
>              Labels: wicket
>             Fix For: 1.5-RC5
>
>         Attachments: crypto.diff
>
>
> 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

        

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

Posted by "L. Kluitmann (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-3514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13004399#comment-13004399 ] 

L. Kluitmann commented on WICKET-3514:
--------------------------------------

Yes, you are right. But are there any chances/workaround to solve the icon problem or is it impossible because its url is defined in the css?

> 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

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

Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-3514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13004115#comment-13004115 ] 

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

What error occurs ?
The only problem I see is that the image sprite can not be loaded and thus switch links have no image (+/-).

> 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

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

Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-3514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13006270#comment-13006270 ] 

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

The "tweak" here is easy:

Index: wicket-core/src/main/java/org/apache/wicket/request/mapper/CryptoMapper.java
===================================================================
--- wicket-core/src/main/java/org/apache/wicket/request/mapper/CryptoMapper.java	(revision 1081145)
+++ wicket-core/src/main/java/org/apache/wicket/request/mapper/CryptoMapper.java	(working copy)
@@ -90,6 +90,7 @@
 		Url encrypted = new Url();
 		String encryptedUrlString = getCrypt().encryptUrlSafe(url.toString());
 		encrypted.addQueryParameter(getCryptParameterName(), encryptedUrlString);
+		encrypted.getSegments().addAll(url.getSegments());
 		return encrypted;
 	}

but this way the whole point of encrypting is lost.
I can't see this working without some processing of the .css itself.

> 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: Ludger 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

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

Posted by "Sven Meier (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sven Meier reopened WICKET-3514:
--------------------------------


Seems no longer to work with latest changes.

> 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: Ludger Kluitmann
>            Assignee: Martin Grigorov
>              Labels: wicket
>             Fix For: 1.5-RC5
>
>
> 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

        

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

Posted by "Sven Meier (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sven Meier updated WICKET-3514:
-------------------------------

    Attachment: crypto.diff

Added test showing problem with image loaded relative to css and possible fix in CryptoMapper.
Note that I removed the additional path segment added for URLs without segments. Admittedly I don't know what this is good for, but it seems to work fine without.

Martin, could you take a look at this?

> 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: Ludger Kluitmann
>            Assignee: Martin Grigorov
>              Labels: wicket
>             Fix For: 1.5-RC5
>
>         Attachments: crypto.diff
>
>
> 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

        

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

Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-3514.
-------------------------------------

    Resolution: Fixed

> 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: Ludger Kluitmann
>            Assignee: Martin Grigorov
>              Labels: wicket
>             Fix For: 1.5-RC5
>
>         Attachments: crypto.diff
>
>
> 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

        

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

Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-3514.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5-RC5

Re-worked CryptoMapper with the code from Jesse Long's Mercurial repo.


> 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: Ludger Kluitmann
>            Assignee: Martin Grigorov
>              Labels: wicket
>             Fix For: 1.5-RC5
>
>
> 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

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

Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov reassigned WICKET-3514:
---------------------------------------

    Assignee: Martin Grigorov

> 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: Ludger Kluitmann
>            Assignee: Martin Grigorov
>              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

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

Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
    [ 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

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

Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov updated WICKET-3514:
------------------------------------

    Priority: Major  (was: Critical)

> 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

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

Posted by "Jesse Long (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-3514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13015486#comment-13015486 ] 

Jesse Long commented on WICKET-3514:
------------------------------------

This might help: https://bitbucket.org/jesselong/wicketstuff/src/tip/src/main/java/org/bitbucket/jesselong/wicketstuff/request/mapper/PatialCryptoRequestMapper.java

> 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: Ludger 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

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

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-3514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13004409#comment-13004409 ] 

Igor Vaynberg commented on WICKET-3514:
---------------------------------------

we should see if we can tweak the mapper to keep the mount in the url, this way relative links will be preserved.

> 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

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

Posted by "L. Kluitmann (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-3514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13003853#comment-13003853 ] 

L. Kluitmann commented on WICKET-3514:
--------------------------------------

When placing the CryptoMapper code in the AjaxApplication (the child application) the error occurs as well except that the expand, collapse and switch links are working. I used the CryptoMapper Revision 1078894. 

> 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