[jboss-user] [JBoss Seam] - Re: Can i use another kind of architeture for a SEAM applica
carlos.abreu
do-not-reply at jboss.com
Fri May 4 15:32:54 EDT 2007
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
More information about the jboss-user
mailing list