Unable to see source of the spring examle
-----------------------------------------

                 Key: WICKET-3381
                 URL: https://issues.apache.org/jira/browse/WICKET-3381
             Project: Wicket
          Issue Type: Bug
          Components: wicket-examples
    Affects Versions: 1.5-RC1
         Environment: ubuntu10.10, jdk1.6, tomcat7
            Reporter: Jörgen Persson
            Priority: Minor


I've downloaded the wicket-examples-1.5-RC1.war file from the apache repository 
and deployed.
When I want to look at the source code for the spring example I get a "Access 
Denied You do not have access to the page you requested. Return to home page" 
in the pop up window.
I've randomly tested other examples but it seems to be working fine there.

A look in the log file showed this:

ERROR - SourcesPage                - user is trying to access class: 
org.apache.wicket.spring.annot.web.AnnotPage which is not in the scope of 
org.apache.wicket.examples
ERROR - Component                  - Error while getting default model object 
for Component: [ [Component id = file, page = 
org.apache.wicket.examples.source.SourcesPage, path = 
1:filespanel:file.SourcesPage$FilesBrowser$1, isVisible = true, isVersioned = 
true], markup = [markup = 
file:/home/jpe/programming/tomcat/apache-tomcat-7.0.5/webapps/wicket-examples-1.5-RC1/WEB-INF/classes/org/apache/wicket/examples/source/SourcesPage.html
<li wicket:id="file">
                                        <a href="#" wicket:id="link"><span 
wicket:id="name"></span></a>
                                </li>, index = 0, current =  '<li 
wicket:id="file">' (line 177, column 5)]]
ERROR - SourcesPage                - user is trying to access class: 
org.apache.wicket.spring.common.web.HomePage which is not in the scope of 
org.apache.wicket.examples
ERROR - Component                  - Error while getting default model object 
for Component: [ [Component id = file, page = 
org.apache.wicket.examples.source.SourcesPage, path = 
5:filespanel:file.SourcesPage$FilesBrowser$1, isVisible = true, isVersioned = 
true], markup = [markup = 
file:/home/jpe/programming/tomcat/apache-tomcat-7.0.5/webapps/wicket-examples-1.5-RC1/WEB-INF/classes/org/apache/wicket/examples/source/SourcesPage.html
<li wicket:id="file">
                                        <a href="#" wicket:id="link"><span 
wicket:id="name"></span></a>
                                </li>, index = 0, current =  '<li 
wicket:id="file">' (line 177, column 5)]]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to