Re: @FlowScoped, @Named and @ManagedBean

2014-02-20 Thread Ludovic Pénet
Thank you. I guess many users would have the same problem, given that this is the case in Oracle JEE7 tutorial : http://docs.oracle.com/javaee/7/tutorial/doc/jsf-configure003.htm Thanks again, lots of users of proprietary products will be jealous of such quick fixes. :) Ludoviv On 20

Re: @FlowScoped, @Named and @ManagedBean

2014-02-19 Thread Leonardo Uribe
Hi I forgot to say what's wrong in the xml file is define the start node. I have created and fixed this issue on: https://issues.apache.org/jira/browse/MYFACES-3858 regards, Leonardo Uribe 2014-02-13 13:12 GMT-05:00 l.pe...@senat.fr l.pe...@senat.fr: On 13/02/2014 19:01, Leonardo Uribe

Re: @FlowScoped, @Named and @ManagedBean

2014-02-19 Thread Leonardo Uribe
Hi I also did some changes in the navigation to deal with the case when the nodeId has the same name as the flow in: https://issues.apache.org/jira/browse/MYFACES-3859 Please note in a normal case click to enter into a flow twice (enter into a flow, navigate and try to enter into the same flow

Re: @FlowScoped, @Named and @ManagedBean

2014-02-13 Thread Leonardo Uribe
Hi Thanks for the example. It helps to clarify the problem. The definition of the flow has a problem: @Produces @FlowDefinition public Flow defineFlow(@FlowBuilderParameter FlowBuilder flowBuilder) { String flowId = flux; flowBuilder.id(, flowId);

Re: @FlowScoped, @Named and @ManagedBean

2014-02-13 Thread l.pe...@senat.fr
On 13/02/2014 19:01, Leonardo Uribe wrote: Hi Thanks for the example. It helps to clarify the problem. The definition of the flow has a problem: @Produces @FlowDefinition public Flow defineFlow(@FlowBuilderParameter FlowBuilder flowBuilder) { String flowId = flux;

Re: @FlowScoped, @Named and @ManagedBean

2014-02-12 Thread l.pe...@senat.fr
On 12/02/2014 00:42, Thomas Andraschko wrote: Can't you just switch to DS? I gave a look to «migrate codi 1.x to deltaspike 0.5» by someone who seems to know a bit on this topic, posts on this mailing list and is also known a Gerhard Petracek :-)

Re: @FlowScoped, @Named and @ManagedBean

2014-02-12 Thread Gerhard Petracek
hi ludovic, @ProjectStageActivated is called @Exclude in deltaspike and you can just drop @Advanced. regards, gerhard http://www.irian.at Your JSF/JavaEE powerhouse - JavaEE Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2014-02-12 9:29

Re: @FlowScoped, @Named and @ManagedBean

2014-02-12 Thread l.pe...@senat.fr
On 12/02/2014 10:22, Gerhard Petracek wrote: hi ludovic, @ProjectStageActivated is called @Exclude in deltaspike and you can just drop @Advanced. ok, thank you. I still had the same situation with deltaspike (0.5 + your os890-cdi-ext-jsf2-module-api and os890-cdi-ext-jsf2-module-impl or

Re: @FlowScoped, @Named and @ManagedBean

2014-02-12 Thread Gerhard Petracek
hi ludovic, once you enable the window-handling for jsf 2.2+, deltaspike v0.6+ will use it automatically. regards, gerhard http://www.irian.at Your JSF/JavaEE powerhouse - JavaEE Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2014-02-12

Re: @FlowScoped, @Named and @ManagedBean

2014-02-12 Thread Howard W. Smith, Jr.
On Feb 12, 2014 1:40 AM, Karl Kildén karl.kil...@gmail.com wrote: Deltaspike modules have consistently been usable off the shelf and would be a far better solution then doing tricks to make CODI work. +1 However using JSF stuff would require you to use 0.6-SNAPSHOT. I would actually just

Re: @FlowScoped, @Named and @ManagedBean

2014-02-12 Thread Gerhard Petracek
@howard: (as announced back then) codi is in maintenance-mode, because new features will be added to deltaspike. you might have seen the latest updates for using it with ee7. regards, gerhard http://www.irian.at Your JSF/JavaEE powerhouse - JavaEE Consulting, Development and Courses in English

Re: @FlowScoped, @Named and @ManagedBean

2014-02-12 Thread Karl Kildén
This question has been raised on the mailing list several times. The answer is always the same: Released functionality is mature and stable. 0.X indicates that the API might change but so far this has happened like 1-2 times I think and probably took 2 minutes to fix for depending projects. The

Re: @FlowScoped, @Named and @ManagedBean

2014-02-12 Thread Howard W. Smith, Jr.
On Wed, Feb 12, 2014 at 5:40 AM, Gerhard Petracek gerhard.petra...@gmail.com wrote: @howard: (as announced back then) codi is in maintenance-mode, because new features will be added to deltaspike. you might have seen the latest updates for using it with ee7. +1 thanks Gerhard

Re: @FlowScoped, @Named and @ManagedBean

2014-02-12 Thread Howard W. Smith, Jr.
+1 thanks Karl. That is all good to know and good to hear from one of the users. :) And for the record, if Thomas recommends it, I know it's a good recommendation. On Wed, Feb 12, 2014 at 5:48 AM, Karl Kildén karl.kil...@gmail.com wrote: This question has been raised on the mailing list

Re: @FlowScoped, @Named and @ManagedBean

2014-02-12 Thread l.pe...@senat.fr
On 12/02/2014 10:37, l.pe...@senat.fr wrote: On 12/02/2014 10:22, Gerhard Petracek wrote: hi ludovic, @ProjectStageActivated is called @Exclude in deltaspike and you can just drop @Advanced. ok, thank you. I still had the same situation with deltaspike (0.5 + your

Re: @FlowScoped, @Named and @ManagedBean

2014-02-12 Thread Gerhard Petracek
hi ludovic, the add-on is for: codi 1.0.5 - deltaspike 0.5 (that's the reason for: 1.0.5_0.5_01) please don't use it with 0.6 (currently only @ViewAccessScoped is missing in ds) regards, gerhard http://www.irian.at Your JSF/JavaEE powerhouse - JavaEE Consulting, Development and Courses in

Re: @FlowScoped, @Named and @ManagedBean

2014-02-12 Thread l.pe...@senat.fr
On 12/02/2014 15:13, Gerhard Petracek wrote: hi ludovic, the add-on is for: codi 1.0.5 - deltaspike 0.5 (that's the reason for: 1.0.5_0.5_01) please don't use it with 0.6 (currently only @ViewAccessScoped is missing in ds) ok, I will do that as I do not need clientwindow support as long as I do

Re: @FlowScoped, @Named and @ManagedBean

2014-02-12 Thread Kito Mann
Thanks for the info, Karl. Good to know. On Wednesday, February 12, 2014, Karl Kildén karl.kil...@gmail.com wrote: This question has been raised on the mailing list several times. The answer is always the same: Released functionality is mature and stable. 0.X indicates that the API might

Re: @FlowScoped, @Named and @ManagedBean

2014-02-12 Thread Leonardo Uribe
Hi Here some answers: LP In fact, I could trigger flow transitions only using a h:link for now. LP LP So neither LP * p:menuitem value=Let's test outcome=flow1 / in a PF p:menubar LP * p:commandButton value=Let's test 2 action=flow1 / LP * h:commandButton value=Let's test 3 action=flow1 / LP *

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 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

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:

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

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

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

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 lu4...@gmail.com: 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

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 lu4...@gmail.com javascript:; : Hi CDI implementations does not require to provide

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.

@FlowScoped, @Named and @ManagedBean

2014-02-10 Thread 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 have a flow1 directory containing flow1-flow.xml flow1.xhtml flow1b.xhtml flow1-flow.xml contains : ?xml version=1.0

Re: @FlowScoped, @Named and @ManagedBean

2014-02-10 Thread Leonardo Uribe
Hi 2014-02-10 11:56 GMT-05:00 l.pe...@senat.fr 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 have a flow1 directory containing flow1-flow.xml