I have designed a custom terminal using the Primefaces p:terminal tag. Does anyone know of a way to clear the content of the terminal with the click of a button like they do on the Primefaces website?
http://www.primefaces.org/showcase/ui/terminal.jsf
I see that they use "onclick="PF('term').clear()"" but when I try it, I get an error that says that PF has not been defined.
Thank you for your help!