I reviewed my code lot of times and didnt find questions about it.
I have a problem with p:commandButton rendered property. The p:commandButton is allways displayed even
If you don't want modify your code, you can use css instead rendered ej:
EDIT: this can be undo by some user so if you element need to be secure don't use. however if you want to hide/show only with visual purpose you can use it.