title: primefaces inputMask for ip address
body: <p>I'm looking to do an inputMask for an ip address.</p>
  
  <p>Currently I have this code:</p>
  
  <pre><code>&lt;p:inputMask value="#{newNode.ipv4}" mask="999.999.999.999"&gt;
         &lt;p:keyFilter mask="num" /&gt; 
  &lt;/p:inputMask&gt;
  </code></pre>
  
  <p>So I can enter un num value between 000.000.000.000 to 999.999.999.999 but I would like to restrict the input to 255.255.255.255, do you know a way to do this?</p>
  
  <p>Thanks,
  Ersch</p>