title: Seam Custom Validation
body: <p>I'm trying to implement a custom validation annotation in Seam.</p>
  
  <p>We have a list of objects, lets call it arrayA, and arrayA is different dependent on today's date.</p>
  
  <p>Next we have an input field stringB, stringB is some value in arrayA going through a transformation function funcC(...). </p>
  
  <p>So basically, we can validate stringB using the following loop:</p>
  
  <pre><code>for(a : arrayA)
  {
      a.equals( funcC( stringB ) )
      return true
  }
  return false
  </code></pre>
  
  <p>My problem is, how do I do this in seam considering arrayA is dynamic? The seam/hibernate validation annotation seems to take only constants as input. Does anyone know a workaround for this problem?</p>
  
  <p>Thanks!</p>