Barry Books:
> You might be able to override the StringTranslator but I have never tried
> that.
That is exactly what I ended with. To validate all string input for XML
I wrote an XMLStringTranslator which throws a ValidationException if
disallowed characters where found. Also it does replace all
You could add an implicit mixin to every textfield using a
ClassTransformWorker2. See Taha's blog post here
http://tawus.wordpress.com/2011/08/01/tapestry-mixins-classtransformations/
You might be able to override the StringTranslator but I have never tried
that.
On Fri, Oct 25, 2013 at 7:34 AM, Hendrik Grewe wrote:
> Hello!
>
> I am looking for an easy way to get all existing text input fields in my
> webapp validated before submission.
>
> Currently some people were able to
Hello!
I am looking for an easy way to get all existing text input fields in my
webapp validated before submission.
Currently some people were able to submit text with e.g ASCII
control-characters and other (by xml spec [1]) disallowed characters.
As I want to generate valid xml files from those