has to be changed to accept catalogue with it, so it can work.
public ValidationError(String errorMessageKey, String catalogue) {
this.saxFragment = new I18nMessage(errorMessageKey, catalogue);
}
perhaps should work.
- Joose
11.8.2004 kello 16:10, Joose Vettenranta kirjoitti:
Additional information:
if false -> true, it does i18n -message..
but how do I define catalogue which it uses? I would like to leave default forms message in one place and custom stuff in another..
- Joose
11.8.2004 kello 15:50, Joose Vettenranta kirjoitti:
Hi,
I have like
<fd:form>
<fd:validation>
<fd:javascript>
if (email.value == null && phone.value == null) {
email.setValidationError(new Packages.org.apache.cocoon.forms.validation.ValidationError("Atleast another one", false));
and it works..
But how can I make that i18n-capable? so it will be translated according to i18n transformer...
- Joose
-- "Always remember that you are unique, just like everyone else!" * http://iki.fi/joose/ * [EMAIL PROTECTED] * +358 44 561 0270 *
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- "Always remember that you are unique, just like everyone else!" * http://iki.fi/joose/ * [EMAIL PROTECTED] * +358 44 561 0270 *
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- "Always remember that you are unique, just like everyone else!" * http://iki.fi/joose/ * [EMAIL PROTECTED] * +358 44 561 0270 *
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
