1 Reply Latest reply on Jun 23, 2009 6:44 AM by Ilya Shaikovsky

    Feature Request - rich:mask

    Israel Fonseca Apprentice

      Richfaces rlz, fact, but there is a component that i think that's still making a huge miss. Something to add custom javascript masks to inputs. like:

      <h:inputText value="#{backingbean.phoneNumber}">
      <rich:mask value="^\\(?(\\d{3})\\)?[- ]?(\\d{3})[- ]?(\\d{4})$">
      </h:inputText>

      Probably using regex patterns or something like that. And woulb be even better some integration with Hibernate Validator (and with Bean Validator too). Just putting the rich:mask in a binding to a attribute that have te @Regex or somethig.

      I think that would be very nice. Is there any plans to somethink like that?

      Thks

      Israel