[jboss-user] [JBoss Seam] - Re: Can i use another kind of architeture for a SEAM applica

Delphi's Ghost do-not-reply at jboss.com
Fri May 4 15:46:02 EDT 2007


Oops, sorry, posted before I saw your last post describing your problem.

>From your code, the injection happens after the constructor is called. 

What you need is : 


  | 
  |   @Create
  |   public void forwardToBaseAction() {
  |       super.setEntity(company)
  |   }
  | 
  | 

The @Create annotated method is called each time the bean is created and after injection has occurred.


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

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



More information about the jboss-user mailing list