Re: [MyFaces][Core]

2009-07-11 Thread Leonardo Uribe
Hi One option (not very standard but an easy one) to check what's happening is call Thread.dumpStack on constructor and check both stack traces to see from where the constructor is called. With this information, it is possible to check myfaces code to see if somethings wrong. regards Leonardo Ur

Re: [MyFaces][Core]

2009-07-11 Thread Guy Bashan
Bean constructor is being called twice (probably bean is created twice...). The weird thing is, that the request to the page contains a parameter. The first time the constructor is called, I get the parameter from the request (in the constructor). The second time the constructor is called, the gett

Re: [MyFaces][Core]

2009-07-11 Thread Jan-Kees van Andel
What do you mean with "being called twice"? You don't call a bean, but instantiate a bean and call methods or properties on it. Is a method or property being called twice? Or do you get two bean instances within one request? Regards, Jan-Kees 2009/7/10 Mamallan Uthaman : > Hi Guy, > > You can in