Hy Christian basically what i need is to pass forward objects from my Action 
Class, to a generic Action class..

Example:

public abstract class BaseAction(){
   private BaseEntity em;
   
   protected void setEntity(BaseEntity em){
      this.em = em;
   }
}

public class CompanyAction extends BaseAction{
  @In
   private Company company; // Entity Object, implements BaseEntity

   public CompanyAction(){
     super.setEntity(company);
   }
}


However, i am not receiving the entity on the BaseAction, when i debug my code 
it comes a null object on the super class.

Thanks for the atention...

Carlos

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043329
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to