Without having taken a look into the source: ResourceLink tries to load a resource with locale + style, locale, style and without anything, it should work as long as the resource file does not have the locale or style attached. I know there is a log4j setting for the class to enable logging on which filenames are checked for existence. Again, I didn't look into the source, I might be wrong.
Juergen On 5/30/05, Gili <[EMAIL PROTECTED]> wrote: > Hi, > > Is it possible to create a ResourceLink that never appends anything to > the filename like locale? I tried extending ResourceLink but it is > impossible to either override getLocale(), getStyle() to always return > null because they are final methods nor is it possible to override > getURL() because "resourceReference" is a private field. > > If I *am* supposed to be subclassing ResourceLink, please consider > making resourceReference protected. Otherwise, I am open to your > suggestions. > > Thank you, > Gili > > > ------------------------------------------------------- > This SF.Net email is sponsored by Yahoo. > Introducing Yahoo! Search Developer Network - Create apps using Yahoo! > Search APIs Find out how you can build Yahoo! directly into your own > Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 > _______________________________________________ > Wicket-develop mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-develop > ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Wicket-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-develop
