0
I need to render a jsf component (Primefaces) through the Bean. I have a selectOneMenu that changes the type of person (physical/legal) and I need to render the field "CPF", because I use the same field for CPF/CNPJ and when changing the type, I need to change the input mask.
How to do?
I’m gonna kick it here.
<p:inputMask mask="#{meuBean.padrao}" />
– Rodrigo
Yes, this is the basics, but my problem would be to create a component in xhtml via java code (bean).
– Marcelo Gomes