Andrea Del Bene-2 wrote: > > Hi rush66, > > you are right, method getResource in TextTemplateResourceReference > reads resource just the first time you call it. You can override this > method like this: > > @Override > public IResource getResource(){ > if(Application.get().getConfigurationType() == > RuntimeConfigurationType.DEVELOPMENT) > return new TextTemplateResourceReference(getScope(), > getName()....).getResource() > else > return super.getResource(); > } >
Isn't there an issue with overriding the getResource() method in ResourceReference if it is marked as final? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/CSS-Change-not-being-picked-up-when-using-TextTemplateResourceReference-tp3613064p3614468.html Sent from the Users forum mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org