Hi Mike,
thanks very much for the super fast reply. I checked that out and it seems to say that it will display the missing key as ???key_name???.
Is there anyway to just display the "key_name" and avoid displaying the ???s
thanks very much, Brian
From: "Mike Jasnowski" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: RE: Handling Missing Message Key Date: Wed, 7 Jan 2004 14:58:33 -0500
set the 'null' property in the config for the msg bundle to 'false' so the exception doesn't happen, the DTD for the struts config details it more
-----Original Message----- From: Brian Styles [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 2:49 PM To: [EMAIL PROTECTED] Subject: Handling Missing Message Key
Hi all,
I'm using the i8ln features in the struts bean tag library
I populate a form bean with info from the database, and this info acts as the key in a resource bundle so that I can add a international versions using
<bean:message name="form" property="database_property"/>
however, I would very much like the actual underlying property to be written
out if the key doesn't exist in the resource bundle, rather than getting the
nasty missing message key exception. Is this possible?
thanks very much, Brian
_________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]