BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }Hi
Chris,
thanks for your answer, but I think it was not exactly what I
expected. I'm speaking of the cocoon-forms validation image. And
unfortunately this is not located in my servlet, it's in foms servlet:
img
src="/cocoon-forms-impl/resource/external/forms/js/templates/images/validation-message.gif"
Regards,
Mike
On Fri 06/03/09 16:38 , "Christofer Dutz" [email protected]
sent:
Hi Mike,
It was pretty easy to modify this.
By using the following pipeline, I used an alternate svg-xsl
transformation.
You just have to make sure that you pass the correct value attribute
to do
the output.
In my case all I had to do to block any attacker, was to add a
leading
letter to the generated image and Writing a note next to the Field
and to
the error message, to leave away the first letter ;-)
Hope this helps,
Chris
src="../../resources/stylesheets/captcha-image.xsl">
value="{session-attr:captcha-{1}}"/>
-----Ursprüngliche Nachricht-----
Von: Michel Erard [[email protected] [1]]
Gesendet: Freitag, 6. März 2009 13:53
An: [email protected] [2]
Betreff: Custom validation-message.gif
Hello,
Is it possible to replace the validation-message.gif of cocoon forms
in an
easy way?
Thanks, Mike
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected] [3]
For additional commands, e-mail: [email protected] [4]
Links:
------
[1] mailto:[email protected]
[2] mailto:[email protected]
[3] mailto:[email protected]
[4] mailto:[email protected]