Check this URL:

http://rifers.org/wiki/display/RIFE/Localization+through+ResourceBundles

I'm not too familiar with how RIFE/Laszlo interact, but I know that
Laszlo uses XML to generate it's SWFs. There appears to be an errors
XML element being generated and sent to the lzx (this is assuming
you're following the RIFE/Laszlo sample). You could manually replace
the validationErrors text with a proper error and inject that to
Laszlo instead. Instead of using
validationBuilderXml.generateValidationErrors(), you would need to use
bean.getValidationErrors() then move through the list and generate
your errors based on the ValidationError's Identifier.

There might be an easier way, but that's what I came up with on a VERY
quick overview.

Let me know,
  Tyler

On 4/26/06, Alexey <[EMAIL PROTECTED]> wrote:
> Hi!
>
>    I have a problem with localizing validate messages. Built-in support for
>    validation in Rife works with method
>    validationBuilderXml.generateValidationErrors(Template, ValidationErrors,
>    ..., ...).
>
>    But how can I get localized message strings of this errors to the
>    template (I use Laszlo)?
>
>    Seems like using this approach I can't even assign to XML template anything
>    additional to let Laszlo know which message it needs to show and where.
>
>    Thank you for any help on this.
>
> --
> Best regards,
>  Alexey                          mailto:[EMAIL PROTECTED]
>
> _______________________________________________
> Rife-users mailing list
> [email protected]
> http://lists.uwyn.com/mailman/listinfo/rife-users
>
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to