struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sale1975\@inwind\.it" <>
Subject help message resources
Date Fri, 18 Jun 2004 09:03:54 GMT
i 'm tring to change the message visualization (i don't want to show the user a
message like '???foo???') when the key of the message is not present in my
ApplicationResources files. how can i do ? 
The only solution i found is to modify the method message(pageContext, bundle,
locale, key, args[]) of the RequestUtils class adding at the end the following

if(result.startWith("???") && result.endWith("???")){
  result= (resources.getMessage(userLocale,"keynotFound.message");

Is there cleaner way to do this???

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message