Is it possible to apply such a validation to a filtered textbox provided by dataTable of Primefaces by customizing it. 
The maximum number of characters that this textbox can hold can be set by using the filterMaxLength="45" property of <p:column>. For example.
<p:column headerText="headerText" sortBy="#{obj.properyName}" filterMaxLength="45" filterBy="#{obj.properyName}">
    <h:outputText value="#{obj.properyName}" />
</p:column>
I can't see such a property to perform other kind of validations such as allowing only specific characters, perhaps by using a regex.
Anyway, I need to allow it to have only digits, since there an id column of the type BIGINT (primary key, auto-increment) in MySQL database which is mapped to the Long datatype in entity classes.
Is it supported by Primefaces or is there a way to customize it?
 
     
     
    