title: passing validator to a custom component, fails
body: <p>I have a simple inputText with a validator:</p>
  
  <pre><code>&lt;ice:inputText
              id="test"
              value="#{applicationBean.selectedApplication['name']}"
              validator="defaultFieldValidator"
              required="true"&gt;&lt;/ice:inputText&gt;
          &lt;ice:message
              styleClass="graValidationMessage graNotRequired"
              for="test" /&gt;
  </code></pre>
  
  <p>You may have noticed that I specified a validator: defaultFieldValidator and all works fine.</p>
  
  <p>I now make a component to act like a wrapper for the inputText named: inputTextValidated:</p>
  
  <pre><code>&lt;ice:inputText
          id="#{id}#{required}"
          value="#{bean[field]}"
          rendered="#{rendered}"
          styleClass="#{styleClass} #{not required ? 'graNotRequired':''}"
          style="width: #{width};"
          partialSubmit="#{partialSubmit}"
          disabled="#{disabled}"
          required="#{required}"
          validator="#{validatorClass}"&gt;
      &lt;/ice:inputText&gt;
  </code></pre>
  
  <p>If I try now to call this component (with the same validator for beginning passed now through a parameter):</p>
  
  <pre><code>&lt;gra:inputTextValidated
                      id="inputText"
                      bean="#{applicationBean.selectedApplication}"
                      field="#{fieldValue}"
                      validatorClass="defaultFieldValidator"
                      renderLabel="false"
                      required="true"
                      disabled="false"
                      width="90%"
                      height="#{secondTabComponentsHeight}"&gt;
                  &lt;/gra:inputTextValidated&gt;
  </code></pre>
  
  <p>if fails with the following error:</p>
  
  <pre><code> Identity 'validatorClass' does not reference a MethodExpression instance, returned type: java.lang.String
  </code></pre>
  
  <p>So the problem is when sending the validator name to my custom component. </p>
  
  <p>Do you see a work-around?</p>
  
  <p>Thanks.</p>