@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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to