title: how can i toggle a <p:password> field to text and password with a checkbox check uncheck
body: <p>I am using p:password tag for registration. I want to toggle the field to text when it is checked with check box, it change to password type mode when it is unchecked. How to solve the problem with primefaces component. I am using primefaces 3.0 and jsf 2.0.</p>