Hi,

I injected ComponentResources in a service, but it's null, why?

public class MyServicesImp implements MyServices {

    @Inject
    private ComponentResources resources;

    public String createExternalPageLink(String pageName, Object context) {
        return getDomainName() + resources.createPageLink(pageName, true,
context);
    }
}
-- 
View this message in context: 
http://www.nabble.com/T5%3A-inject-ComponentResources-in-a-service-tf4695974.html#a13423186
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to