Why not adding the MB to the faces-config of your component's
faces-config.xml file?
I already thought about such a solution as a "emergency plan", but I would prefer the generic solution.
A managed bean is just a simple javaBean which can be looked up from
the VariableResolver. The method resolveVariable(faces_context,
name_of_my_bean) goes through all the scopes and looks it up & returns
the bean than. Or create's it using the ManagedBeanBuilder, if not
attached to any scope yet.
So why not just creating a new object and storing it under the needed context ?
like fc.getExternalContext().getSessionMap().put("fooBean", obj");
I think this were excactly the remarks I hoped for to solve my problem - thanks a lot :-)
Greetings,
Hendrik

