Hi Philip,

Thanks for your reply. A configurer in combination with some providers
actually did the trick in the end.
Thanks for pointing me in the right direction !


On Mon, Nov 11, 2013 at 5:54 PM, Philip Mundt (via Magnolia Forums) <
[email protected]> wrote:

> 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]>
> ----------------------------------------------------------------
>
>


----------------------------------------------------------------
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