Whoops, the reference would be:

<component id="integerField" type="TextField">
    <binding name="translator" value="translator:integer" />
</component>

-Ryan

Leonardo Quijano Vincenzi wrote:
If that's true, then we can actually contribute to the standard Translators, right?

 <contribution configuration-id="Translators">
   <bean name="date" class="SpecialTranslator"/>
 </contribution>

  <bean name="specialTranslator" class="xxx.xxx.SpecialTranslator">
      <set name="something" value="someval" />
  </bean>

And use it like this:

  <component id="dateField" type="DatePicker">
      <binding name="translator" value="translator:specialTranslator" />
  </component>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to