How would one achieve injection of a Collection of Seam components into a
backing bean? I know I can setup outjection of a List of components using an
@DataModel annotation (coupled with an @Factory method it works great). I want
to do injection...
i.e. Assume a Seam component exists (MyComponent). I would like my backing
bean to have:
| @In
| private List<MyComponent> myComponents;
|
Assuming this is supported, how should my JSF be setup to inject correctly?
Would something similiar to this work?
| <h:inputText id="total" value="#{MyComponent[0].attribute}"/>
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974057#3974057
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974057
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user