[jboss-user] [JBoss Seam] - Re: si:selectItem error parsing

lowecg2004 do-not-reply at jboss.com
Thu Dec 14 16:10:50 EST 2006


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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994024



More information about the jboss-user mailing list