On Thu, 2004-04-08 at 01:05, Joerg Heinicke wrote: > On 04.04.2004 00:54, Uchenna Igwebuike wrote: > > > I am using cforms/woody for the presentation layer of an app. > > > > The business logic is all contained within session beans which sends > > message keys and parameters through an exception when a method is called > > within the <javascript/> tag. > > > > I am using <wd:output> widgets to display the messages. > > Is there a way I can leverage the I18nTransformer to build the message > > using the <i18n:translate> tag and XML resource bundles within my > > <javascript/> event handler tags. > > > > Thanks in advance. > > I have not used it and don't know if it fits your needs, but have you > tried the messages widget? From the JavaDoc I would bet you can easily > add i18n messages to it.
yep, that's correct. IIRC there's a sample that illustrates this. wd:output is meant to output values (i.e. a read-only equivalent of wd:field), not messages. Either use something like wd:messages, or pass your message as 'bizdata' to the view layer. -- Bruno Dumon http://outerthought.org/ Outerthought - Open Source, Java & XML Competence Support Center [EMAIL PROTECTED] [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
