[Opensource] ErrorTag issue

Kris Thompson kris.thompson at seurat.com
Wed Jun 26 15:33:56 PDT 2002


Why does the ErrorTag in expresso not associate itself with the 
MessageBundle at all?  Expresso has done a wonderful job at providing 
internationalization for general text strings on the site but when it 
comes to errors its not the case at all.

 I noticed this because of the struts errors html tag which does just 
that, it associates a MessageBundle file with the error.  That will 
allow you to specify the error string key in the java code and it will 
pull out the string value of that.  I realize that given Expresso sits 
onto of Struts I can still use the errors tag but by doing so requires 
that I add all of my error messages to whatever MessageBundle I specify 
in my web.xml file.  That works fine but it is a Hack.  

Has anyone created a ErrorTag that does have errors associated with a 
MessageBundle file AND allow you to have multiple ErrorMessageBundles 
per Schema OR allow you to add the error messages to the individual 
Schema Message Bundles that exist?

How do others out there handle error messages without having to code 
them to the java code?

Thanks

Kris




More information about the Opensource mailing list