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 contributed symbols.
Is there any way of doing this?

--
Peter Beshai

Pure Mathematics/Computer Science Student
University of Waterloo

Reply via email to