I have a session scoped backing bean.. when the form loads it is calling the bean twice. Is there anyway to just get one call to the bean? i think the 2 h:selectOneMenu are making the call but i am not sure....
I wouldn't count on it being a Glassfish thing. But occasionally people do manage to get more than one instance of a bean created in a JSF app. It's happened to me once or twice but it always turned out to be a bug in my app, not the server.
Where it gets bad is when one instance gets some of the data and the other instance gets the rest of the data. You end up with 2 garbled beans that break in strange ways.
Joined: Sep 03, 2008
When it goes bad it doubles my DropDown menu contents... I have since written some code to look out for this but i still see the constructor going off twice...