I've just changed wicket dependency from 1.5.6 to 6.0.0-beta2 and
s/IClusterable/Serializable/
...and this is what I got:
Unexpected RuntimeException
Last cause: Access denied to (static) package resource
com/hashnot/nbp. See IPackageResourceGuard
Root cause:
org.apache.wicket.request.resource.PackageResource$PackageResourceBlockedException:
Access denied to (static) package resource com/hashnot/nbp. See
IPackageResourceGuard
at
org.apache.wicket.request.resource.PackageResource.internalGetResourceStream(PackageResource.java:459)
[snip]
This is the situation:
mypackage.MyApplication{
void init(){
mountPage("nbp", MyPage.class)
//other similar mounts
}
}
mypackage.BasePage{
//base Page with links to all mounted pages
}
mypackage.nbp.MyPage extends BasePage{}
(and of course the markup)
All links between mounted pages are handled by BasePage class and its markup.
>From the BasePage's point of view there is page mounted under "nbp"
and a subpackage nbp.
After I changed the mount from "nbp" to "nbp-rates" it started working,
so it looks like in case of conflicting mount-path and relative
package name there is a regression:
* in 1.5.x linking to X meant linking to mounted page
* in 6.0 it means linking to package
Can someone confirm it?
--
Pozdrawiam / Best Regards
Rafal Krupinski
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]