I started to use richfaces with facelets. I dynamically created rich:tree component with data. Problem is, when I reload page (server request), I lose tree state. Every nodes are collapsed like on the begining. Is there any way to remember tree state before server request, or this is just not possible?