Hey ! I'm not sure to understand what you need but the Translator interface <https://github.com/apache/tapestry-5/blob/master/tapestry-core/src/main/java/org/apache/tapestry5/Translator.java> has a render method. Did you try that ?
Charles 2014-12-11 5:02 GMT+01:00 Geoff Callender < geoff.callender.jumpst...@gmail.com>: > Is there a way to contribute a client translator, just as we can > contribute client validator? I feel like there has to be but I've somehow > missed it. > > The situation I have is similar to field 4 in this example: > > > http://jumpstart.doublenegative.com.au/jumpstart7/examples/input/augmentingtranslators > > In that example I've disabled the existing client-side translation because > it has no idea how to translate "2k" to an integer. Instead, I'd like to > contribute a translator which also has a client translator, then use it > like this: > > <t:textfield t:id="objectAllowingShorthandInput" nulls="zero" > translate="shorthandNumber"/> > > Geoff > >