Re: Need help getting started with GlassFish, MyFaces, and Trinidad

2010-10-21 Thread Werner Punz
Am 20.10.10 17:50, schrieb Alan: Does trinidad rely on MyFaces (which I don't have in this project) for this resource, or am I missing a filter in my configuration? Actually I cannot help perse with the configuration, but Trinidad does not rely on myfaces in anything, it is implementation

Re: Need help getting started with GlassFish, MyFaces, and Trinidad

2010-10-20 Thread Werner Punz
Am 19.10.10 06:27, schrieb Alan: On Mon, Oct 18, 2010 at 12:53 PM, Jakob Korherrjakob.korh...@gmail.comwrote: You need to have myfaces-api and myfaces-impl dependencies in your project like this: OK, thanks to Jakob's hints I got MyFaces-2 running under GlassFish. One thing that is

Re: Need help getting started with GlassFish, MyFaces, and Trinidad

2010-10-20 Thread burghard.britzke
but even if I set those elements in my sun-web.xml, I get --INFO: Mojarra 2.0.2 (FCS b10) für Kontext '/myapp' wird initialisiert. ... -- SCHWERWIEGEND: Both MyFaces and the RI are on your classpath. Please make sure to use only one of the two JSF-implementations. ... INFO: Starting up

Re: Need help getting started with GlassFish, MyFaces, and Trinidad

2010-10-20 Thread Werner Punz
Can you check your build, you might bundle mojarra as well as myfaces, here is an excerpt of a sun-web.xml which works for me: ?xml version=1.0 encoding=UTF-8? !DOCTYPE sun-web-app PUBLIC -//Sun Microsystems, Inc.//DTD Application Server 9.0 Servlet 2.5//EN

Re: Need help getting started with GlassFish, MyFaces, and Trinidad

2010-10-20 Thread Alan
On Tue, Oct 19, 2010 at 3:20 AM, Jakob Korherr jakob.korh...@gmail.comwrote: 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

Re: Need help getting started with GlassFish, MyFaces, and Trinidad

2010-10-20 Thread Alan
On Tue, Oct 19, 2010 at 3:20 AM, Jakob Korherr jakob.korh...@gmail.comwrote: Great to here that the app is running now! Thanks again. Now for my next trick ... (I feel like one of those incompetent magicians where every part of the act goes wrong.) I now set up my project to use the

Re: Need help getting started with GlassFish, MyFaces, and Trinidad

2010-10-19 Thread Jakob Korherr
Hi Alan, Great to here that the app is running now! 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

Need help getting started with GlassFish, MyFaces, and Trinidad

2010-10-18 Thread Alan
I have been using GlassFish 3 to host a JSF 2.0 so far with some success, but with no imported libraries. For some odd reason I can't seem to find documentation that can get me started with MyFaces. I added a Maven dependency as follows: dependency

Re: Need help getting started with GlassFish, MyFaces, and Trinidad

2010-10-18 Thread Jakob Korherr
Hi Alan, You need to have myfaces-api and myfaces-impl dependencies in your project like this: dependency groupIdorg.apache.myfaces.core/groupId artifactIdmyfaces-api/artifactId version2.0.2/version

Re: Need help getting started with GlassFish, MyFaces, and Trinidad

2010-10-18 Thread Alan
On Mon, Oct 18, 2010 at 12:53 PM, Jakob Korherr jakob.korh...@gmail.comwrote: [1] http://blogs.sun.com/theaquarium/entry/how_to_use_myfaces_with Thanks a lot for this. I am not usually so clueless but the details kept piling up to the point I thought I was drowning for a while there. I'm

Re: Need help getting started with GlassFish, MyFaces, and Trinidad

2010-10-18 Thread Alan
On Mon, Oct 18, 2010 at 12:53 PM, Jakob Korherr jakob.korh...@gmail.comwrote: You need to have myfaces-api and myfaces-impl dependencies in your project like this: OK, thanks to Jakob's hints I got MyFaces-2 running under GlassFish. One thing that is essential (I am putting it here for