myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan <>
Subject Re: Need help getting started with GlassFish, MyFaces, and Trinidad
Date Wed, 20 Oct 2010 15:27:39 GMT
On Tue, Oct 19, 2010 at 3:20 AM, Jakob Korherr <>wrote:

> Those things you're encountering really seem like GlassFish (or
> NetBeans) bugs to me.
> Actually @Model really should work, because it is just a Stereotype
> for @Named @RequestScoped. My guess here is that GlassFish does not
> enable CDI correctly when running with MyFaces, because if you test
> @Model in Tomcat using MyFaces-2 and Apache OpenWebBeans it works
> fine!
> Regards,
> Jakob
Right you are.  I had to go over to the Glassfish forum to learn this, but
as it turns out CDI does not work unless you have a beans.xml file -- even
if it has nothing in it.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message