Hallo,
ein seam 2-Projekt, und dort in einer seam-Komponente, Session-Scope, nicht-EJB:
FacesContext fc=FacesContext.getCurrentInstance();
und das resultat: hier lokal bei mir (windows 7, jboss 4.2) alles ok. Auf dem Server (linux, jboss 4.2) hingegen ist fc=null. Was kann da los sein?
Gruß+Danke
ein seam 2-Projekt, und dort in einer seam-Komponente, Session-Scope, nicht-EJB:
FacesContext fc=FacesContext.getCurrentInstance();
und das resultat: hier lokal bei mir (windows 7, jboss 4.2) alles ok. Auf dem Server (linux, jboss 4.2) hingegen ist fc=null. Was kann da los sein?
Gruß+Danke