p:commandButton rendered property not working after ajax update (Primefaces 3.5)

前端 未结 2 458
走了就别回头了
走了就别回头了 2021-02-08 13:38

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

2条回答
  •  眼角桃花
    2021-02-08 14:27

    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.

提交回复
热议问题