Re: hidden input not refreshed

2015-01-02 Thread Ludovic Pénet
You can also give your input hidden an id and request its update this way. Avoids re-sendind all form... Best regards, Le 2 janvier 2015 11:21:10 UTC+01:00, Romain Manni-Bucau rmannibu...@gmail.com a écrit : @this will just refresh the commandButton no? so it is really @form (goal would be to

Re: ViewScoped bean created multiple times?

2014-11-08 Thread Ludovic Pénet
I would rather use @Named / @Inject, which are more powerful than @ManagedBean / @ManagedProperty. You can inject more stuff, in more places with less side effects. You would have less side effects with properties serialization and such things. I also usually prefer Deltaspike

Re: ViewScoped bean created multiple times?

2014-11-08 Thread Ludovic Pénet
bean init stuff in the consctructor but in a init-method that I am trying to make sure is called only once, which do not seem to be that easy. BTJ On Sat, 08 Nov 2014 13:13:35 +0100 Ludovic Pénet l.pe...@senat.fr wrote: I would rather use @Named / @Inject, which are more powerful than

Re: ViewScoped bean created multiple times?

2014-11-08 Thread Ludovic Pénet
2014 13:41:49 +0100 Ludovic Pénet l.pe...@senat.fr wrote: Having an init method called once at the beginning is the purpose of @PostConstruct. I may not use the right words, but the @PostConstruct method will be called only once, when the bean is instantiated, even if navigation triggers

Re: 2.2 stability

2014-03-09 Thread Ludovic Pénet
I found 2.2 to be very stable, almost a drop in replacement for 2.1. Using the new file upload feature of JSF 2.2 was straightforward for me. I had a hard time with Faces Flows, but Leonardo and the others kindly helped and fixed a few bugs - I still have to test that it is ok. I expected many

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: JSF / MyFaces 2.2

2014-01-16 Thread Ludovic Pénet
Well, you know what, I already googled (thanks) and read release notes (thanks again)... Best regards, Howard W. Smith, Jr. smithh032...@gmail.com a écrit : On Thu, Jan 16, 2014 at 4:56 AM, l.pe...@senat.fr l.pe...@senat.fr wrote: what documents do you suggest to read to get an idea of

Re: Problem with CODI/OWB and PrimeFaces 3.2

2012-04-10 Thread Ludovic Pénet
Dear Gerhard and Mark, thank you for your quick replies. Yes, it is an issue with OWB, not with CODI. As I use OWB only because of CODI, the distinction was not obvious to me. The bug seems to happen during context serialization. Solutions 2 and 3 from Mark are, alas, not options, as I am stuck

Problem with CODI/OWB and PrimeFaces 3.2

2012-04-05 Thread Ludovic Pénet
Dear all, I experience a very strange (at least to me) problem when using PrimeFaces 3.2 ( http://www.primefaces.org/ ) in combination with CODI, OWB and of course MyFaces. I stripped down my code to a simple example only using : * MyFaces 2.0.11 * PrimeFaces 3.2 (same with 3.1.1) * (CODI