-
1. Re: Validation error / Annotations / rich:popupPanel
okanxyz Sep 19, 2011 9:24 AM (in response to djnose)try to put this line in your MyBean constructor
myEditObject = new MyEditObject();
myEditObject.setName("abc");
-
2. Re: Validation error / Annotations / rich:popupPanel
djnose Sep 19, 2011 9:37 AM (in response to okanxyz)I also tried that, but it did not work . Also i ask myself, why the constructor is called multiple times if i do not change the view and my bean is viewScope. Thought that this bean is now anywhere stored and not recreated every time .. but thats maybe another issue...
-
3. Re: Validation error / Annotations / rich:popupPanel
okanxyz Sep 19, 2011 9:50 AM (in response to djnose)I am 100% sure that viewScope=requestScope in richfaces 4 (i guess there is no need for that kind of scope). Are you tried to change a scope to SessionScoped.
-
4. Re: Validation error / Annotations / rich:popupPanel
djnose Sep 19, 2011 10:46 AM (in response to okanxyz)You seem to be right, sessionScope works as expected, the Construtor is just called once.
But storing all stuff in the session is not an option. But lets focus on my first Question :-) Do you have another idea?
Thank You!
-
5. Re: Validation error / Annotations / rich:popupPanel
okanxyz Sep 19, 2011 2:25 PM (in response to djnose)I seem so to be premature validation. Maybe if you give me whole page and bean i can came with some solution.
Bye..