Masks in JSF2 with rich:jQuery?

285 views Asked by At

I´m trying to input masks in JSF2, in this way:

<h:inputText id="cep1" value="#{bean.cepR}" /> <rich:jQuery selector="#cep1" query="mask('99999-999')" timing="domready" />

However, It does not happen any error, on the other hand, the masks are not rendered.

Someone knows what iis going ?

If it´s relevant i'm using richfaces 4.3.5

Is there other ways to do this ?

Thanks in advance !

0

There are 0 answers