[jboss-user] [JBoss Seam] - Re: Problems with <t:dataList>

francisco.noguera do-not-reply at jboss.com
Thu Oct 11 11:02:19 EDT 2007


@Stateful
public abstract class SitiosWebBaseAction extends ReelAction implements ISitiosWebBaseAction {
    
    @Logger
    protected Log log;
    
    @EJB
    protected ISitiosWebFacade sitiosWebFacade;
    
    @In("facesMessages")
    protected FacesMessages msg;  
    
    @DataModelSelection("marcadores")    
    @Out(value="marcador",required=false)
    protected Marcador marcador;
    
    @DataModelSelection("documentos")    
    @Out(value="documento",required=false)
    protected Documento documento;
        
    @DataModelSelection("noticias")    
    @Out(value="noticia",required=false)
    protected Noticia noticia;
    
    @DataModel
    protected List marcadores;
    
    /** Creates a new instance of SitiosWebBaseAction */
    public SitiosWebBaseAction() {
    }
    

    @Create
    public void create() {  
        sesion = Contexts.getSessionContext();
        iniciar();
    }
     
    public Marcador getMarcador() {
        return marcador;
    }

    public void setMarcador(Marcador marcador) {
        this.marcador = marcador;
    }
    
     public List getMarcadores() {
	return marcadores;
    }

    public void setMarcadores(List marcadores) {
	this.marcadores = marcadores;
    }
}
----------------------------------------------
srry this is the another part

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

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



More information about the jboss-user mailing list