This content has been marked as final.
Show 3 replies
-
1. Re: constructor is called even rendered=false in tabpanel?
nbelaevski Apr 5, 2007 12:24 PM (in response to liuliu)Hello!
It's ok - JSF saves component tree and components state even for components that are not rendered. -
2. Re: constructor is called even rendered=false in tabpanel?
liuliu Apr 6, 2007 5:41 AM (in response to liuliu)
thanks for your reply.
In the same page, i have a valuebinding of DataModel, i want to know if it is for the same reason, this getter is called even rendered of his parent is false?(only this getter is called once,not else)public DataModel getData() { return this.data; }
-
3. Re: constructor is called even rendered=false in tabpanel?
sergeysmirnov Apr 6, 2007 1:12 PM (in response to liuliu)event the rendered=false, the component tree still contains the component. So, when the tree is restored, the getter might be invoked