which RF version used?
works fine for me with latest version.
Sorry for being late at replying your response. I had totally forgotten this issue for some time. The reason for this switch problem was not related with RichFaces. I am developing a custom ViewHandler to manage component hierarchy at runtime and state management part of that ViewHandler was causing this problem. Actually, I had checked my above snippet in a clean project without this ViewHanlder, but I think I had missed something at that time. Anyway, after seeing your response about there is no problem with latest version, I recreated a clean project with RichFaces and rechecked above code. As you said it works without any problem. Thanks a lot for your check.