[Opensource] i18n issues with errormessage not being displaye d based on locale

Michael Rimov rimovm at centercomp.com
Wed Apr 2 11:40:35 PST 2003


At 06:10 PM 3/31/2003 -0600, you wrote:
>True, but it's still pretty clean - 
>addError(getString("error.messagebundlekey")); instead of 
>addError("error.messagebundlekey");
>
>Re: ErrorMessageBundleTag, at a glance, it seems to me that line 115 could 
>just be switched to this:
>writer.println( myResponse.getString( oneError.getKey() ) );
>
>Also, ErrorMessageBundleTag doesn't wrap the errors in <li></li>. I think 
>this sort of deviates from the design of struts 1.02 and would make it 
>difficult to use the along with the 'error' tag (they both use the same 
>header and footer messages).

I should pipe up here.  I believe Mike N's original goal in Expresso was to 
have most of the i18n code done inside the Controller itself, so all the 
jsp does is then write the internationalized strings via Output.getContent().

It's a tough call which would be better, but I'm just clarifying what the 
original design was.
                                                 -Mike

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.jcorporate.com/pipermail/opensource/attachments/20030402/9f698232/attachment-0002.htm


More information about the Opensource mailing list