Re: T5 Assets from property

2007-03-18 Thread Howard Lewis Ship
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

T5 Assets from property

2007-03-18 Thread Peter Beshai
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