title: How to add validator (with disable condition) to primefaces datatable with cellEditor?
body: <p>I'm using primefaces 2.2.1
  and I want set <code>f:validatorLength</code> to one row in datatable with many rows with <code>p:cellEditor</code>.</p>
  
  <pre><code>&lt;c:set var="flag" value="#{item.key eq 'someKey'}" /&gt;
  &lt;p:column headerText="header"&gt;
      &lt;p:cellEditor&gt;
         &lt;f:facet name="output"&gt;
          &lt;h:outputText value="#{item.value}" /&gt;
              &lt;/f:facet&gt;
                 &lt;f:facet name="input"&gt;
                  &lt;p:inputText value="#{item.value}" style="width:100%" &gt;
      &lt;f:validateLength maximum="4" disabled="#{flag}"/&gt;
                  &lt;/p:inputText&gt;
  
                  &lt;/f:facet&gt;
      &lt;/p:cellEditor&gt;
  &lt;/p:column&gt;
  </code></pre>
  
  <p>And when flag is <code>true</code> for chosen inputText with appropriate key, then validator turn on for all inputTexts. And when flag is <code>false</code> - validator turn on for all inputTexts. But I want set validator to some inputTexts and so on.
  Any ideas?
  Thanks.</p>