Figures :)
Thanks for you guidance Pete. There's a lot to learn and your component as well as you responding to this thread helps. Thanks!
/Kris
It's time to migrate to 1.1, dude!
I just saw that it was released! :) Congratulations!
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.