Bugs item #1441469, was opened at 2006-03-02 05:37
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1441469&group_id=119783

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Gili Tzabari (cowwoc)
Assigned to: Nobody/Anonymous (nobody)
Summary: SharesResources.get() does not check for aliasing

Initial Comment:
If resources are bound in the IInitializer and a
SharedResource "class alias" is configured in
Application.init() then there will be a mismatch. That
all, the application-scoped resources will have scope
names that are non-aliased and when we try to resolve
them later on at runtime we look for them using their
aliased names.

Suggested fix: In SharedResources.java

public final Resource get(final Class scope, final
String name, final Locale locale, final String style,
boolean exact)

we should modify the code to de-alias the scope before
looking it up in the SharedResource map.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1441469&group_id=119783


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to