I have a new problem. The problem appears during the rerendering of my custom component.
It keeps some children inside and during the restore it give me an ArrayIndexOutOfBoundException.
I solved with the solution posted here:
LINK that I report here:
Why I need to remove children from the tree? Why they are duplicated? Does anyone has a better solution?
Thanks.