Hi,

on the wicket-wiki
(http://cwiki.apache.org/WICKET/i18n-and-resource-bundles.html) I've
found a point that won't work.

Below the point "Load resources dynamically for a component" there is
the first alternative using ...PackageResource.get(MyComponent.class,
"Mycomponent.properties")...

I've tried that to load properties but it doesn't work. The reason is
that the PackageResource calls their accept method internally. This
loads a PackageResourceGuard from the Application. But this
PackageResourceGuard has a list
of blocked extensions: java, class and properties. If you make this
call above it'll result in a "PackageResourceBlockedException".

marc


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to