Hey, Jose. you should have used NetBeans 'Fix imports' option after removing Omnifaces package.
i think you are using NetBeans (but I might be wrong). Fix imports would have gave you a dialog showing you the MyFaces 2.2 @ViewScoped package to import. On Wed, Jan 15, 2014 at 3:34 PM, José Luis Cetina <maxtorz...@gmail.com>wrote: > Hi im currently using org.omnifaces.cdi.ViewScoped for my @Named beans, now > with MyFaces 2.2.0 which package do i have to use for @ViewScoped and > @Named for work togheter. > > Thanks >