Re: @FlowScoped, @Named and @ManagedBean

2014-02-11 Thread l.pe...@senat.fr
On 11/02/2014 03:30, Leonardo Uribe wrote: Hi Thank you for your quick reply. 2014-02-10 11:56 GMT-05:00 l.pe...@senat.fr : Dear all, I am starting to really use JSF 2.2. I am trying to use Faces Flows. I am starting with a very simple flow, whose name is "flow1". So, under src/main/webapp, I

Re: @FlowScoped, @Named and @ManagedBean

2014-02-11 Thread Romain Manni-Bucau
DeltaSpike is not a CDI implementation but a helper library. I think OWB supports FlowScoped at least it has been tested in TomEE AFAIK, anyone can confirm? Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: http

Re: @FlowScoped, @Named and @ManagedBean

2014-02-11 Thread l.pe...@senat.fr
On 11/02/2014 10:28, l.pe...@senat.fr wrote: On 11/02/2014 03:30, Leonardo Uribe wrote: [...] @FlowScoped annotation is for CDI only, so it will not work for JSF managed beans. In your case, I believe the bean is instantiated but it is not stored in any context, so once is created is discarded

Re: @FlowScoped, @Named and @ManagedBean

2014-02-11 Thread l.pe...@senat.fr
On 11/02/2014 14:51, l.pe...@senat.fr wrote: On 11/02/2014 10:28, l.pe...@senat.fr wrote: On 11/02/2014 03:30, Leonardo Uribe wrote: [...] @FlowScoped annotation is for CDI only, so it will not work for JSF managed beans. In your case, I believe the bean is instantiated but it is not stored i

Re: @FlowScoped, @Named and @ManagedBean

2014-02-11 Thread Leonardo Uribe
Hi CDI implementations does not require to provide anything to JSF in order to make @FlowScoped to work. The code has been tested against OWB and Weld and it works in both cases. But the flow stuff relies on the new ClientWindow API, and that could cause a conflict with CODI, because CODI provide

Re: @FlowScoped, @Named and @ManagedBean

2014-02-11 Thread Thomas Andraschko
Can't you just switch to DS? 2014-02-11 18:46 GMT+01:00 Leonardo Uribe : > Hi > > CDI implementations does not require to provide anything to JSF in > order to make @FlowScoped to work. The code has been tested against > OWB and Weld and it works in both cases. > > But the flow stuff relies on t

Re: @FlowScoped, @Named and @ManagedBean

2014-02-11 Thread Kito Mann
How mature is DeltaSpike? It's only at 0.05. On Tuesday, February 11, 2014, Thomas Andraschko < andraschko.tho...@gmail.com> wrote: > Can't you just switch to DS? > > > 2014-02-11 18:46 GMT+01:00 Leonardo Uribe > >: > > > Hi > > > > CDI implementations does not require to provide anything to JSF

Re: @FlowScoped, @Named and @ManagedBean

2014-02-11 Thread Karl Kildén
Deltaspike modules have consistently been usable off the shelf and would be a far better solution then doing tricks to make CODI work. However using JSF stuff would require you to use 0.6-SNAPSHOT. I would actually just use @SessionScoped, write a TODO and wait for 0.6 release if I could. Otherwis