Hi,

thanks a lot for your helpful answer!

| You only need to implement one translator (which, if input is invalid can act
| like a validator).

That means that validators/translators are not designed to be used together
or perhaps just in some (standard) cases?

| The translator will have 2 properties, yesString + noString
| you'll define it in you .page like this:
|  <bean name="ynTranslator"
|         class="another.cool.Translator">
|         <set name="yesString" value="message:yesChar" />
|         <set name="noString" value="message:noChar" />
|     </bean>
| and use it like this:
| <binding name="translator" value="bean:ynTranslator" />
| 
| For each language you want to support, you just supply the localized
| versions of yesChar and noChar in the appropriate .properties file.

That looks great - I will try it ;)

Sincerly,
  Andreas

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

Reply via email to