Hi,

@Named is only supported with CDI, it's not in the JSF API.
You need a CDI implementation like OpenWebBeans or Weld.

Best regards,
Thomas

2011/12/30 jiminssy <jiminpa...@gmail.com>

>
> Hi,
>
> Thanks for taking the time to respond.
> See... I have only worked on small projects in school where
> I rarely had to include 3rd APIs and everything stayed local.
> I am challenging myself to learn the web technology and started studying.
> I learned Servlet, JSP and eventually it lead me to JSF.
> Everything I know is just conceptual, and I wanted to start coding to
> practice.
> None of the books I read guided me through how to set up an actual
> development environment on a local machine...
> I found tutorial sites that told me to download certain jar files and put
> them
> into certain folders. This all is very new to me and I am getting confused.
> I don't expect you to write up a complete guide for me,
> but I would like to understand the high level view of what the jars are for
> and which bundle of jars go well with Tomcat 6 to do what I want to do.
> (JSF2 and Richfaces)
>
> ps. The set up I had the most success with, allows @ManagedBean but not
> @Named.
> Is it because I'm running on Tomcat 6? Or the specific APIs I'm using
> doesn't support @Named?
>
>
> Martin Koci-2 wrote:
> >
> > Hi,
> >
> > what problem (exception?) do you have? Using myfaces + richfaces on
> > tomcat 6 is very easy, you can try richfaces examples [1] and activate
> > maven profile 'myfaces'
> >
> > Regards,
> >
> > Kočičák
> >
> > [1] https://github.com/richfaces/dev-examples
> >
> > jiminssy píše v Pá 30. 12. 2011 v 05:04 -0800:
> >> I am really a newbie at this and I got stuck setting up a local JSF2
> >> development environment using MyFaces. I've searched online for tutorial
> >> websites but they all say the different things, none of them really
> >> worked.
> >> Could someone guide me how to set up MyFaces and Richfaces to work on
> >> Tomcat
> >> 6?
> >
> >
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/MyFaces-installation-help-tp33054599p33054915.html
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>

Reply via email to