for what I know (discussion on wb-dev) JSF apps should use JSR-299 @ScopeType annotated scopes (renamed to @NormalScope in the latest spec) and not faces scopes. I did hope that we could unify all scopes by generally using JSR-330 javax.inject.Scope in all EE fields. But that will not work until JSR-299 also recognizes and treats JSR-330 scopes as normal scopes.
LieGrue, strub --- On Wed, 8/26/09, Matthias Wessendorf <[email protected]> wrote: > From: Matthias Wessendorf <[email protected]> > Subject: Re: WebBeans "eating" JSF 2.0 annotations ? > To: [email protected] > Date: Wednesday, August 26, 2009, 5:11 PM > has no effect. The beast can't find > the JSF beans. > Due to lack of time, I am going with JSF 2.0 standalone. > > Question is: as it was working the current behavior is a > regression, > has there been any testing on OBW + JSF 2.0 ? > > -Matthias > > On Wed, Aug 26, 2009 at 3:45 PM, Gurkan Erdogdu<[email protected]> > wrote: > > It must not eat. > > > > But one point, > > > > You still use old XML configuration file format. As a > default OWB uses new > > XML format. Add > > https://svn.apache.org/repos/asf/incubator/openwebbeans/trunk/samples/guess/src/main/resources/META-INF/openwebbeans/openwebbeans.properties > > > > in your project resources/META-INF/openwebbeans folder > and sure that all > > libraries are ok. > > > > You can look necessary libs from guess.war . You can > create it from mvn > > package -Pjetty. > > > > --Gurkan > > > > > > 2009/8/26 Matthias Wessendorf <[email protected]> > > > >> Hi, > >> > >> is it possible that the current trunk is _eating_ > JSF 2.0 annotations ? > >> > >> <someCode> > >> ... > >> import javax.faces.bean.ManagedBean; > >> import javax.faces.bean.SessionScoped; > >> > >> @ManagedBean(name="playersBean") > >> @SessionScoped > >> public class ViewParamsBean > >> { > >> ... > >> </someCode> > >> > >> In June (before reflecting the > javax.enterprise.context changes) it was > >> working. > >> Now expressions like #{playersBean} are simply > ignored ;-) > >> > >> Demo project is here: > >> https://facesgoodies.googlecode.com/svn/CGN/trunk/ > >> > >> -Matthias > >> > >> > >> -- > >> Matthias Wessendorf > >> > >> blog: http://matthiaswessendorf.wordpress.com/ > >> sessions: http://www.slideshare.net/mwessendorf > >> twitter: http://twitter.com/mwessendorf > >> > > > > > > > > -- > > Gurkan Erdogdu > > http://gurkanerdogdu.blogspot.com > > > > > > -- > Matthias Wessendorf > > blog: http://matthiaswessendorf.wordpress.com/ > sessions: http://www.slideshare.net/mwessendorf > twitter: http://twitter.com/mwessendorf >
