How to hide

after it displayed the messages?

前端 未结 4 603
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-19 14:37

I am working on JSF application in primefaces in that i am showing an information to the user via .

So when the user click submit the

4条回答
  •  春和景丽
    2021-01-19 14:52

    is ultimately rendered as

    and its contents is then updated with the factual messages to the user.

    If you want to clear the message screen after some delay you should use the JavaScript setTimeout function after ajax call has been completed:

    
    

    The second parameter of setTimeout function is the delay in milliseconds.

    The other alternative is to use instead.

提交回复
热议问题