[jboss-user] [JBoss Seam] - Re: Data entry's backing bean not picking up entries on form
pgmjsd
do-not-reply at jboss.com
Thu May 17 06:32:13 EDT 2007
The problem is that the injected "tradeEntry" context variable was not set before invoking the method. When you used @In(create=true), Seam instantiated the component for you and suck it in the context before injecting it into TradeManagerBean. Naturally, this calls the default constructor so all the fields are initialized accordingly: all nulls, etc.
How about having addTradeEntry() method should fill in the fields in TradeEntry?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046433#4046433
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4046433
More information about the jboss-user
mailing list