[jboss-user] [JBoss Seam] - Re: @Factory method get called first..

monkeyden do-not-reply at jboss.com
Fri May 18 11:11:49 EDT 2007


You're not doing anything wrong.  This is just the way it behaves.  I'm sure there is a lot more which happens but most basically it's this:

1.  The commandButton initiates the request
2.  Seam creates the component, if it doesn't exist
3.  Performs any and all injection for the component
4.  Those data members which have factory methods associated, Seam invokes the methods
5.  If a @Create method is defined, Seam calls it
6.  The originally requested action method is invoked.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046857#4046857

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



More information about the jboss-user mailing list