cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joose Vettenranta <jo...@iki.fi>
Subject Re: cforms + javascript validation + i18n
Date Wed, 11 Aug 2004 13:10:32 GMT
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 &amp;&amp; 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/ * joose@iki.fi * +358 44 561 0270 *
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
--
"Always remember that you are unique, just like everyone else!"
* http://iki.fi/joose/ * joose@iki.fi * +358 44 561 0270 *


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message