You have to define your validators beans in the hivemodule tapestry
contribution

  <contribution configuration-id="tapestry.form.translator.Translators">
       <bean name="myValidator" class="my.MyValidator" />
  </contribution>

Then you can use the bean name directly in the binding as you do with other
tapestry default validators.

On 4/2/07, Hugo Palma <[EMAIL PROTECTED]> wrote:

Hi all,

i would like to use two validators in a TextField where one of the
validator
is defined as a bean in the page. I can't figure out the correct syntax to
use in the page spec for this. I've tried:

<binding name="validators" value="validators:required[%required-field]
bean:refmbValidator"/>

and

<binding name="validators" value="validators:required[%required-field],
bean:refmbValidator"/>

and lots others with no success...
Any ideas would be great.

Thanks....

Reply via email to