Hi Erik.

If your component is instantiated at a later time you can still inject it by 
using a

[code]javax.inject.Provider[/code]

Simply inject it like

[code]
@Inject
public YourConstructor(Provider<YourCustomComponent> 
yourCustomComponentProvider) {}
[/code]

Hope that helps!?

Regards
Philip

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=243802c1-fbf4-4812-ba09-264c243465fc


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to