Pete,
Changing to @Out worked - thanks for your assistence! BTW - adding support for @DataModel
would be most welcome. Anyway, thanks for contributing the component.
Kris,
I know I was using a list rather that using enums, but to get my @Out value working I had
to replace my @Factory with @Create, e.g.:
@Name("orderStorageBean")
@Stateful
public class OrderStorageBeanHome implements OrderStorageBean, Serializable {
@SuppressWarnings("unused") //seam handled outjection
@Out
private List hardDisks;
@Create
public void fetchHardDisks() {
hardDisks = new LinkedList();
// add things to list
}
...
}
Regards,
Chris.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994024#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...