Zhihao li created WICKET-5099:
---------------------------------

             Summary: Can't mount sucessfully with the 
annotation"@PaxWicketMountPoint"
                 Key: WICKET-5099
                 URL: https://issues.apache.org/jira/browse/WICKET-5099
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 6.4.0
         Environment: window 7, jdk7
            Reporter: Zhihao li


I want to mount mainPage, subOnePage and subTwoPage with the annotations below.
@PaxWicketMountPoint(mountPoint = "/main")
@PaxWicketMountPoint(mountPoint = "/main/subOne")
@PaxWicketMountPoint(mountPoint = "/main/subTwo")
Before upgrading to 6.6.0 from 6.2.0, they all mount sucessfully.
But after upgrading,they will mount failure.
That is to say that when mainPage's mount point "/main" is the same with the 
previous value "/main" of subOnePage and subTwoPage's mount point, the mainPage 
can't mount to "/main".
Only that case it will failure, in other case, for example, in the following 
case, the mainPage can mount sucessfully
@PaxWicketMountPoint(mountPoint = "/main1")
@PaxWicketMountPoint(mountPoint = "/main/subOne")
@PaxWicketMountPoint(mountPoint = "/main/subTwo")
or
@PaxWicketMountPoint(mountPoint = "/main")
@PaxWicketMountPoint(mountPoint = "/main1/subOne")
@PaxWicketMountPoint(mountPoint = "/main1/subTwo")
It is very weird.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to