How can I get a localized (!!) message from these function back in my form if validation fails ?
I tried different approaches, but it's not working (cocoon snapshot 2.1.4 - 24.11.03) I'm always getting the key String an not the catalogue value.
(1) var validationError = new Packages.org.apache.cocoon.woody.datatype.ValidationError("xxx"); form.getWidget("my_widget").setValidationError(validationError,true);
This one should work. Did you tried it with a more recent snapshot or the 2.1.4 release?
Joerg
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]