jsf - How to close a p:messages through a button? -


for primefaces messages, here example: http://www.primefaces.org/showcase/ui/messages.jsf.

in example, if click "info", message pop out. close message, i'll have click on toggle on right. want achieve when click "info" second time, messages disappear. , if click again after that, appear again. means button works switch control message.

any thoughts appreciated!

you can have here, @ toogle function: http://api.jquery.com/toggle/


Comments

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -