I'd like to know how to use a path dynamic for all assets.
For example:
class Test {
@Inject
@Path("context: assets/...")
private Asset _testAsset;
@Inject
@Path("context: assets/...")
private Asset _testAsset2;
}
'Cause when I'll have to change the path, I'll have to change all Assets and
I'd like to have a default path for Assets.
For example:
class Test {
@Inject
@Path("${defaultPath}/images/...")
private Asset _testAsset;
@Inject
@Path("${defaultPath}/images/...")
private Asset _testAsset2;
}
Where I can change the 'DefaultPath' in a default local.
--
Gutemberg A. Da Silva