The method newResourceNameIterator(...) is overriden inside PackageStringResourceLoader but has no difference with its superclass ComponentStringResourceLoader.
Maybe that method could be removed as its superclass already has it. Still digging around an easy way to add a fallbackStyle feature. :-) *Bruno Borges* www.brunoborges.com.br +55 21 76727099 On Fri, Jun 17, 2011 at 5:23 PM, Bruno Borges <[email protected]>wrote: > I'm playing around to find a nice solution for WICKET-3813 and found this > piece of code inside Localizer.java:327 (rev 1132354) > > if ((style == null) && (component != null)) > { > style = component.getStyle(); > } > if (style == null) > { > style = Session.exists() ? Session.get().getStyle() : null; > } > > Component.getStyle is final and is just a delegate method to > Session.get().getStyle(). > > Could be removed. > > > *Bruno Borges* > www.brunoborges.com.br > +55 21 76727099 > >
