You'll need to inject the AssetSource service and work from there.
On 3/18/07, Peter Beshai <[EMAIL PROTECTED]> wrote:
I was wondering how you can inject an asset with the path being a property
of an object.
For instance, if you have an object obj with a path property, something
like:
private M
I was wondering how you can inject an asset with the path being a property
of an object.
For instance, if you have an object obj with a path property, something
like:
private MyObject obj;
@Inject("context:${obj.path}")
private Asset path;
Of course this won't work since the ${} will look for c